From b39a71d4c64680fe54a42532dcd581669ccca8ff Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 26 Jul 2018 11:03:45 -0400 Subject: Fix clang warning. warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare] --- src/mock_runtime_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mock_runtime_test.cc') diff --git a/src/mock_runtime_test.cc b/src/mock_runtime_test.cc index fae0b32a5..ac50913de 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); } -- cgit v1.2.3