mirror of
https://github.com/denoland/deno.git
synced 2025-10-03 15:44:36 +00:00
Fix clang warning.
warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare]
This commit is contained in:
parent
16caa1173d
commit
b39a71d4c6
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ TEST(MockRuntimeTest, SendWrongByteLength) {
|
||||||
// deno_send the wrong sized message, it should throw.
|
// deno_send the wrong sized message, it should throw.
|
||||||
EXPECT_FALSE(deno_send(d, strbuf("abcd")));
|
EXPECT_FALSE(deno_send(d, strbuf("abcd")));
|
||||||
std::string exception = deno_last_exception(d);
|
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);
|
EXPECT_NE(exception.find("assert"), std::string::npos);
|
||||||
deno_delete(d);
|
deno_delete(d);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue