diff options
author | Evan Martin <martine@danga.com> | 2012-08-17 17:25:21 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-08-17 17:35:41 (GMT) |
commit | 697350d1220f50c32043875b49c71c8a294098a4 (patch) | |
tree | 970abb9bdef44e79f49423a1cf5646bb8e5743cd /src/build_log_test.cc | |
parent | 413103c4c472410c10da179a841b5e3b05e576c0 (diff) | |
download | Ninja-697350d1220f50c32043875b49c71c8a294098a4.zip Ninja-697350d1220f50c32043875b49c71c8a294098a4.tar.gz Ninja-697350d1220f50c32043875b49c71c8a294098a4.tar.bz2 |
make it more explicit that a bad build log causes us to rebuild
(Committing this on top of b56fe80 since they're related,
but I may end up reverting both.)
Diffstat (limited to 'src/build_log_test.cc')
-rw-r--r-- | src/build_log_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_log_test.cc b/src/build_log_test.cc index 186dad9..3005333 100644 --- a/src/build_log_test.cc +++ b/src/build_log_test.cc @@ -154,7 +154,7 @@ TEST_F(BuildLogTest, ObsoleteOldVersion) { string err; BuildLog log; - EXPECT_FALSE(log.Load(kTestFilename, &err)); + EXPECT_TRUE(log.Load(kTestFilename, &err)); ASSERT_NE(err.find("version"), string::npos); } |