From 48408631e535697a3a71bbf3629c1ef0992dd2d1 Mon Sep 17 00:00:00 2001 From: William Sobel Date: Sun, 28 Apr 2024 15:19:20 -0400 Subject: [PATCH] Changed test for initial value to string --- test_package/json_printer_probe_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_package/json_printer_probe_test.cpp b/test_package/json_printer_probe_test.cpp index 36b6e711..c3b6ed06 100644 --- a/test_package/json_printer_probe_test.cpp +++ b/test_package/json_printer_probe_test.cpp @@ -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()); + ASSERT_EQ("1", count.at("/DataItem/InitialValue"_json_pointer).get()); } TEST_F(JsonPrinterProbeTest, DataItemFilters)