From 7e8621b505c2a012cd040a3387abc9f915c60258 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Tue, 23 Apr 2024 13:02:52 -0400 Subject: [PATCH] [#3314] Review comment Fixed UT test. modified: callout_handle_unittest.cc --- src/lib/hooks/tests/callout_handle_unittest.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/hooks/tests/callout_handle_unittest.cc b/src/lib/hooks/tests/callout_handle_unittest.cc index b34c41760e..4a6d38c4dc 100644 --- a/src/lib/hooks/tests/callout_handle_unittest.cc +++ b/src/lib/hooks/tests/callout_handle_unittest.cc @@ -402,7 +402,8 @@ TEST_F(CalloutHandleTest, getOptionalContext) { // Should find three. handle->setContext("three", three); - EXPECT_TRUE(handle->getOptionalContext("two", value)); + EXPECT_TRUE(handle->getOptionalContext("three", value)); + EXPECT_EQ(three, value); } // Further tests of the "skip" flag and tests of getting the name of the -- 2.47.2