0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00

Fix clang warning.

warning: comparison of integers of different signs: 'const unsigned
long' and 'const int' [-Wsign-compare]
This commit is contained in:
Ryan Dahl 2018-07-26 11:03:45 -04:00
parent 16caa1173d
commit b39a71d4c6

View file

@ -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);
}