Skip to content

Commit

Permalink
Fixed initial value. Changed to string.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsobel authored Apr 28, 2024
1 parent 794da5c commit ea6bd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_package/json_printer_probe_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ TEST_F(JsonPrinterProbeTest, InitialValue)

json count = ::find(items, "/DataItem/id", "d2e9e4a0");
ASSERT_TRUE(count.is_object());
ASSERT_EQ(1.0, count.at("/DataItem/InitialValue"_json_pointer).get<double>());
ASSERT_EQ("1", count.at("/DataItem/InitialValue"_json_pointer).get<string>());
}

TEST_F(JsonPrinterProbeTest, DataItemFilters)
Expand Down

0 comments on commit ea6bd34

Please sign in to comment.