mirror of
https://github.com/nlohmann/json.git
synced 2026-10-28 00:35:43 +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());
|
INFO("fast: " << a << ", byte-wise: " << b << ", length " << s.size());
|
||||||
CHECK(a == b);
|
CHECK(a == b);
|
||||||
}
|
}
|
||||||
errors += b != "ok" ? 1 : 0;
|
errors += b != "ok" ? 1u : 0u;
|
||||||
};
|
};
|
||||||
|
|
||||||
const std::vector<std::string> pieces =
|
const std::vector<std::string> pieces =
|
||||||
|
|||||||
Reference in new issue
Block a user