diff --git a/test/unittest/documenttest.cpp b/test/unittest/documenttest.cpp index 1542434..f5e1b50 100644 --- a/test/unittest/documenttest.cpp +++ b/test/unittest/documenttest.cpp @@ -313,7 +313,7 @@ TYPED_TEST(DocumentMove, MoveConstructorStack) { GenericStringStream is("[\"one\", \"two\", \"three\"]"); reader.template Parse(is, a); size_t capacity = a.GetStackCapacity(); - EXPECT_GT(capacity, 0); + EXPECT_GT(capacity, 0u); Document b(std::move(a)); EXPECT_EQ(a.GetStackCapacity(), defaultCapacity); @@ -405,7 +405,7 @@ TYPED_TEST(DocumentMove, MoveAssignmentStack) { GenericStringStream is("[\"one\", \"two\", \"three\"]"); reader.template Parse(is, a); size_t capacity = a.GetStackCapacity(); - EXPECT_GT(capacity, 0); + EXPECT_GT(capacity, 0u); Document b; b = std::move(a);