diff --git a/src/mock_runtime_test.cc b/src/mock_runtime_test.cc index fae0b32a58..ac50913deb 100644 --- a/src/mock_runtime_test.cc +++ b/src/mock_runtime_test.cc @@ -58,7 +58,7 @@ TEST(MockRuntimeTest, SendWrongByteLength) { // deno_send the wrong sized message, it should throw. EXPECT_FALSE(deno_send(d, strbuf("abcd"))); std::string exception = deno_last_exception(d); - EXPECT_GT(exception.length(), 1); + EXPECT_GT(exception.length(), 1u); EXPECT_NE(exception.find("assert"), std::string::npos); deno_delete(d); }