summaryrefslogtreecommitdiff
path: root/libdeno/file_util_test.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-29 18:50:46 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-30 05:48:40 -0400
commit902e6e2ee6542ce63932dca78ea27130be5d8948 (patch)
tree6b2e366344221781cdd6fdac05422c9cd052fa00 /libdeno/file_util_test.cc
parentb2cd71ddce7b776800ec00e6286ad891cb286110 (diff)
Fix warnings.
Ref #374
Diffstat (limited to 'libdeno/file_util_test.cc')
-rw-r--r--libdeno/file_util_test.cc2
1 files changed, 1 insertions, 1 deletions
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));