summaryrefslogtreecommitdiffstats
path: root/src/ninja_test.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-05-02 19:18:35 (GMT)
committerEvan Martin <martine@danga.com>2011-05-02 19:18:35 (GMT)
commit93817e544f18c54d8e8da6d5d3a457e94911b5f1 (patch)
treebe1b523277f1084d1fd7b96ea931b803f306a93d /src/ninja_test.cc
parent037cd8bfb32540502730f4990eede1cef1fa64ca (diff)
downloadNinja-93817e544f18c54d8e8da6d5d3a457e94911b5f1.zip
Ninja-93817e544f18c54d8e8da6d5d3a457e94911b5f1.tar.gz
Ninja-93817e544f18c54d8e8da6d5d3a457e94911b5f1.tar.bz2
fix unit test
Diffstat (limited to 'src/ninja_test.cc')
-rw-r--r--src/ninja_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja_test.cc b/src/ninja_test.cc
index 8d53343..ed22709 100644
--- a/src/ninja_test.cc
+++ b/src/ninja_test.cc
@@ -264,5 +264,5 @@ TEST_F(DiskInterfaceTest, RemoveFile) {
ASSERT_EQ(0, system(cmd.c_str()));
EXPECT_EQ(0, disk_.RemoveFile(kFileName));
EXPECT_EQ(1, disk_.RemoveFile(kFileName));
- EXPECT_EQ(-1, disk_.RemoveFile("does not exist"));
+ EXPECT_EQ(1, disk_.RemoveFile("does not exist"));
}