diff options
author | Evan Martin <martine@danga.com> | 2011-05-17 22:37:52 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-05-17 22:37:52 (GMT) |
commit | 078f97b672b1b0f4293d8640a9ed4830c47c92ef (patch) | |
tree | 0a49aa0d092ad8e9ed75de1c58ad10378d59a6c0 /src/build_test.cc | |
parent | 28eb6b792dd9893a56e0f6c17a81eb0b1edf04cb (diff) | |
download | Ninja-078f97b672b1b0f4293d8640a9ed4830c47c92ef.zip Ninja-078f97b672b1b0f4293d8640a9ed4830c47c92ef.tar.gz Ninja-078f97b672b1b0f4293d8640a9ed4830c47c92ef.tar.bz2 |
add extra check for no error in build test
Diffstat (limited to 'src/build_test.cc')
-rw-r--r-- | src/build_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_test.cc b/src/build_test.cc index 3d75180..01e60be 100644 --- a/src/build_test.cc +++ b/src/build_test.cc @@ -499,6 +499,7 @@ TEST_F(BuildTest, OrderOnlyDeps) { // We should fail to even add the depenency on foo.o, because // there's nothing to do. EXPECT_FALSE(builder_.AddTarget("foo.o", &err)); + EXPECT_EQ("", err); } TEST_F(BuildTest, Phony) { |