From 902e6e2ee6542ce63932dca78ea27130be5d8948 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 29 Aug 2018 18:50:46 -0400 Subject: Fix warnings. Ref #374 --- libdeno/file_util_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdeno/file_util_test.cc') diff --git a/libdeno/file_util_test.cc b/libdeno/file_util_test.cc index a7b6727e1..ac854c52e 100644 --- a/libdeno/file_util_test.cc +++ b/libdeno/file_util_test.cc @@ -38,7 +38,7 @@ TEST(FileUtilTest, ExePath) { EXPECT_TRUE(exe_path.find("/") == 0 || exe_path.find(":\\") == 1); // FIlename is the name of the test binary. std::string exe_filename = deno::Basename(exe_path); - EXPECT_EQ(exe_filename.find("test_cc"), 0); + EXPECT_EQ(exe_filename.find("test_cc"), 0u); // Path exists (also tests ReadFileToString). std::string contents; EXPECT_TRUE(deno::ReadFileToString(exe_path.c_str(), &contents)); -- cgit v1.2.3