mirror of
https://github.com/nlohmann/json.git
synced 2026-10-27 16:28:57 +00:00
tests: avoid sign conversion in json_view_edit UTF-8 check
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
1 file changed
+1
-1
@@ -977,7 +977,7 @@ TEST_CASE("json_view edits: check_utf8 agrees with the byte-wise check")
|
||||
INFO("fast: " << a << ", byte-wise: " << b << ", length " << s.size());
|
||||
CHECK(a == b);
|
||||
}
|
||||
errors += b != "ok" ? 1 : 0;
|
||||
errors += b != "ok" ? 1u : 0u;
|
||||
};
|
||||
|
||||
const std::vector<std::string> pieces =
|
||||
|
||||
Reference in new issue
Block a user