Browse Source

[master] Fixed a likely type d1 -> r1

Francis Dupont 7 years ago
parent
commit
a0ee985e22

+ 1 - 1
src/lib/eval/tests/evaluate_unittest.cc

@@ -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");
 }
 

+ 1 - 1
src/lib/hooks/tests/hooks_manager_unittest.cc

@@ -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.