diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-07-26 11:03:45 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-26 11:38:03 -0400 |
commit | b39a71d4c64680fe54a42532dcd581669ccca8ff (patch) | |
tree | 6ef5d10685edfee14707c2bf1d5ece4fb69adaff /src/mock_runtime_test.cc | |
parent | 16caa1173d99542803ff78a9793339a9e513f5bd (diff) |
Fix clang warning.
warning: comparison of integers of different signs: 'const unsigned
long' and 'const int' [-Wsign-compare]
Diffstat (limited to 'src/mock_runtime_test.cc')
-rw-r--r-- | src/mock_runtime_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |