[clang-tools-extra] r348467 - [clangd] Fix a typo in TUSchedulerTests
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 6 00:55:24 PST 2018
Author: hokein
Date: Thu Dec 6 00:55:24 2018
New Revision: 348467
URL: http://llvm.org/viewvc/llvm-project?rev=348467&view=rev
Log:
[clangd] Fix a typo in TUSchedulerTests
Reviewers: ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: javed.absar, ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Differential Revision: https://reviews.llvm.org/D55312
Modified:
clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp
Modified: clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp?rev=348467&r1=348466&r2=348467&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp Thu Dec 6 00:55:24 2018
@@ -593,7 +593,7 @@ TEST_F(TUSchedulerTests, NoopOnEmptyChan
ASSERT_FALSE(DoUpdate(SourceContents));
// Update to a header should cause a rebuild, though.
- Files[Header] = time_t(1);
+ Timestamps[Header] = time_t(1);
ASSERT_TRUE(DoUpdate(SourceContents));
ASSERT_FALSE(DoUpdate(SourceContents));
More information about the cfe-commits
mailing list