[clangd] Fix a typo in TUSchedulerTests
authorHaojian Wu <hokein@google.com>
Thu, 6 Dec 2018 08:55:24 +0000 (08:55 +0000)
committerHaojian Wu <hokein@google.com>
Thu, 6 Dec 2018 08:55:24 +0000 (08:55 +0000)
Reviewers: ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: javed.absar, ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Differential Revision: https://reviews.llvm.org/D55312

llvm-svn: 348467

clang-tools-extra/unittests/clangd/TUSchedulerTests.cpp

index 3908ae6..1ea1d61 100644 (file)
@@ -593,7 +593,7 @@ TEST_F(TUSchedulerTests, NoopOnEmptyChanges) {
   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));