From ea6bd34b6a8e4c6ccebcf2dbd697b8860f20f4f4 Mon Sep 17 00:00:00 2001 From: William Sobel Date: Sun, 28 Apr 2024 15:22:22 -0400 Subject: [PATCH] Fixed initial value. Changed 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)