diff --git a/folly/json/test/DynamicParserTest.cpp b/folly/json/test/DynamicParserTest.cpp index b50720f2529..3dcf035d242 100644 --- a/folly/json/test/DynamicParserTest.cpp +++ b/folly/json/test/DynamicParserTest.cpp @@ -273,7 +273,7 @@ TEST(TestDynamicParser, TestRequiredOptionalParseErrors) { }; // clang-format off EXPECT_EQ(dynamic(dynamic::object("nested", dynamic::object - ("x", get_expected_error_fn("x", "TypeError: .* but had type `array'")) + ("x", get_expected_error_fn("x", "TypeError: .* but had type 'array'")) ("y", get_expected_error_fn("y", ".*Invalid leading character.*")) ("z", get_expected_error_fn("z", "CUSTOM")))), errors); // clang-format on @@ -311,7 +311,7 @@ TEST(TestDynamicParser, TestItemParseErrors) { }, "string", "string", - "TypeError: .* but had type `array'"); + "TypeError: .* but had type 'array'"); checkItemParseError( dynamic::array("this is not a bool"), [&](DynamicParser& p) { p.arrayItems([&](int64_t, bool) {}); },