tests: avoid sign conversion in json_view_edit UTF-8 check

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann committed 2026-10-27 14:31:54 +01:00
1 parent e4892619c2
commit 27dcb668bb
1 file changed
+1 -1
+1 -1
View File
@@ -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 =