Skip to content

Commit

Permalink
sad
Browse files Browse the repository at this point in the history
  • Loading branch information
altalk23 committed Jun 2, 2024
1 parent ee080c5 commit f44bfb3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/Hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,20 @@ TEST(HookTest, SingleHook) {
HandlerHandle handlerHandle;
makeHandler<3>(handlerHandle);

makeHook<3>(handlerHandle);
// makeHook<3>(handlerHandle);

// EXPECT_EQ(callFunction<3>(), 3);
}

// priorityHook -> hook -> function
TEST(HookTest, PriorityHook) {
HandlerHandle handlerHandle;
makeHandler<4>(handlerHandle);
// makeHandler<4>(handlerHandle);

makeHook<4>(handlerHandle);
makePriorityHook<4>(handlerHandle);
// makeHook<4>(handlerHandle);
// makePriorityHook<4>(handlerHandle);

EXPECT_EQ(callFunction<4>(), 6);
// EXPECT_EQ(callFunction<4>(), 6);
}

// priorityHook -> function
Expand Down

0 comments on commit f44bfb3

Please sign in to comment.