diff options
Diffstat (limited to 'modules/codec-json/tests/codec-json.cpp')
-rw-r--r-- | modules/codec-json/tests/codec-json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codec-json/tests/codec-json.cpp b/modules/codec-json/tests/codec-json.cpp index 3c97935..bc1540e 100644 --- a/modules/codec-json/tests/codec-json.cpp +++ b/modules/codec-json/tests/codec-json.cpp @@ -456,7 +456,7 @@ SAW_TEST("Tuple Pretty Encode and Decode"){ error_or<void> eov = json_codec.encode(native_tup, json_tup); SAW_EXPECT(eov.is_value(), "Encoding error"); - std::string_view str_v = "[\r\n\t\"bar\",\r\n\t34\r\n]"; + std::string_view str_v = "[\n\t\"bar\",\n\t34\n]"; std::string enc_val = convert_to_string(json_tup.get_buffer()); SAW_EXPECT(enc_val == str_v, std::string{"Tuple not encoded correctly. Encoded: "} + enc_val + std::string{" Expected: "} + std::string{str_v}); |