From 2f8a6621c6925cdb9630c1800e2cbef57d6f9d54 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Wed, 13 Jul 2022 07:46:38 +0100 Subject: [PATCH] Update unit-custom-integer.cpp --- tests/src/unit-custom-integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-custom-integer.cpp b/tests/src/unit-custom-integer.cpp index 3e810f472..e5958eaef 100644 --- a/tests/src/unit-custom-integer.cpp +++ b/tests/src/unit-custom-integer.cpp @@ -97,6 +97,6 @@ TEST_CASE("custom integer types") my_json as_json = my_json::parse(data.begin(), data.end()); wrapped_int i1 = as_json[1]; wrapped_int i2 = as_json[2]; - CHECK(i1 == wrapped_int(2)); + CHECK(i1 == wrapped_int(2u)); CHECK(i2 == wrapped_int(-3)); }