]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Fixed a likely type d1 -> r1
authorFrancis Dupont <fdupont@isc.org>
Fri, 6 Oct 2017 22:29:39 +0000 (00:29 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 6 Oct 2017 22:29:39 +0000 (00:29 +0200)
src/lib/eval/tests/evaluate_unittest.cc
src/lib/hooks/tests/hooks_manager_unittest.cc

index 04ffd337b8578dcc60b4b5d356d74cba91ae7043..5afb635c91aebbd6325ea12fbcc9a06dd172605b 100644 (file)
@@ -502,7 +502,7 @@ TEST_F(ExpressionsTest, evaluateString) {
     testExpressionString(Option::V4,
                          "ifelse(option[200].exists,option[200].hex,"
                                  "ifelse(option[100].exists,"
-                                         "option[100].hex,'none???'))",
+                                         "option[100].hex,'none?'))",
                          "hundred4");
 }
 
index 55e8138b9da91376d8afac8554445e192946a2d4..947263e6459b864221fe63241498e5f9f8ca479e 100644 (file)
@@ -119,7 +119,7 @@ public:
         handle->setArgument("data_1", d1);
         HooksManager::callCommandHandlers("command-one", *handle);
         handle->getArgument(RESULT, result);
-        EXPECT_EQ(d1, result) << "command-one" << COMMON_TEXT;
+        EXPECT_EQ(r1, result) << "command-one" << COMMON_TEXT;
 
         // Perform the second calculation: it should multiply the data by 10
         // and return in the result.