Browse Source

Fix test compilation

master
Jessica James 3 years ago
parent
commit
645d010502
  1. 6
      src/test/app_parameters.cpp

6
src/test/app_parameters.cpp

@ -275,7 +275,7 @@ TEST(AppParametersTest, switch_and_value) {
EXPECT_EQ(obj["Switches"], expected_switches); EXPECT_EQ(obj["Switches"], expected_switches);
EXPECT_EQ(obj["Values"], expected_values); EXPECT_EQ(obj["Values"], expected_values);
EXPECT_TRUE(parameters.hasSwitch("switch")); EXPECT_TRUE(parameters.has_switch("switch"));
EXPECT_FALSE(parameters.hasSwitch("switch2")); EXPECT_FALSE(parameters.has_switch("switch2"));
EXPECT_EQ(parameters.getValue("key"), "value"); EXPECT_EQ(parameters.get_value("key"), "value");
} }

Loading…
Cancel
Save