diff options
Diffstat (limited to 'src')
-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 a8b1733..c81f570 100644 --- a/src/build_log_test.cc +++ b/src/build_log_test.cc @@ -252,7 +252,7 @@ TEST_F(BuildLogTest, Restat) { ASSERT_EQ(3, e->mtime); TestDiskInterface testDiskInterface; - char out2[] = { 'o', 'u', 't', '2' }; + char out2[] = { 'o', 'u', 't', '2', 0 }; char* filter2[] = { out2 }; EXPECT_TRUE(log.Restat(kTestFilename, testDiskInterface, 1, filter2, &err)); ASSERT_EQ("", err); |