Skip to content

Commit

Permalink
Fix clang warning.
Browse files Browse the repository at this point in the history
warning: comparison of integers of different signs: 'const unsigned
long' and 'const int' [-Wsign-compare]
  • Loading branch information
ry committed Jul 26, 2018
1 parent 16caa11 commit b39a71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mock_runtime_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b39a71d

Please sign in to comment.