summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/rapidjson/test/unittest/encodingstest.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/rapidjson/test/unittest/encodingstest.cpp')
-rw-r--r--3rdparty/rapidjson/test/unittest/encodingstest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/3rdparty/rapidjson/test/unittest/encodingstest.cpp b/3rdparty/rapidjson/test/unittest/encodingstest.cpp
index 4104880015e..67b0391ed06 100644
--- a/3rdparty/rapidjson/test/unittest/encodingstest.cpp
+++ b/3rdparty/rapidjson/test/unittest/encodingstest.cpp
@@ -302,8 +302,9 @@ TEST(EncodingsTest, UTF8) {
decodedCount++;
}
- if (*encodedStr) // This decoder cannot handle U+0000
+ if (*encodedStr) { // This decoder cannot handle U+0000
EXPECT_EQ(1u, decodedCount); // Should only contain one code point
+ }
EXPECT_EQ(UTF8_ACCEPT, state);
if (UTF8_ACCEPT != state)