We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d7ebae + 0cd1fce commit 1246506Copy full SHA for 1246506
src/libutil-tests/json-utils.cc
@@ -131,7 +131,7 @@ TEST(getString, wrongAssertions) {
131
TEST(getIntegralNumber, rightAssertions) {
132
auto simple = R"({ "int": 0, "signed": -1 })"_json;
133
134
- ASSERT_EQ(getUnsigned(valueAt(getObject(simple), "int")), 0);
+ ASSERT_EQ(getUnsigned(valueAt(getObject(simple), "int")), 0u);
135
ASSERT_EQ(getInteger<int8_t>(valueAt(getObject(simple), "int")), 0);
136
ASSERT_EQ(getInteger<int8_t>(valueAt(getObject(simple), "signed")), -1);
137
}
0 commit comments