From 32a5558d91c698d6b2964a17522852076cff27fa Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Sun, 22 May 2022 15:23:34 -0400 Subject: [PATCH] fix style issue in added test --- tests/src/unit-bjdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-bjdata.cpp b/tests/src/unit-bjdata.cpp index f0558dd86..c93a5de51 100644 --- a/tests/src/unit-bjdata.cpp +++ b/tests/src/unit-bjdata.cpp @@ -2817,7 +2817,7 @@ TEST_CASE("BJData") CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vO), "[json.exception.parse_error.112] parse error at byte 8: syntax error while parsing BJData size: ndarray requires both type and size", json::parse_error&); CHECK(json::from_bjdata(vO, true, false).is_discarded()); - std::vector vO2 = {'{','$', 'i', '#', '[', 'i', 2, 'i', 1, ']', 'i', 1, 'a', 1, 'i', 1, 'b', 2}; + std::vector vO2 = {'{', '$', 'i', '#', '[', 'i', 2, 'i', 1, ']', 'i', 1, 'a', 1, 'i', 1, 'b', 2}; CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vO2), "[json.exception.parse_error.112] parse error at byte 10: syntax error while parsing BJData object: BJData object does not support ND-array size in optimized format", json::parse_error&); CHECK(json::from_bjdata(vO2, true, false).is_discarded()); }