From e3fa82fcde3c0fcd5c0b094136897f90e79ee6ea Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Thu, 6 Dec 2018 08:55:24 +0000 Subject: [PATCH] [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 llvm-svn: 348467 --- clang-tools-extra/unittests/clangd/TUSchedulerTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/unittests/clangd/TUSchedulerTests.cpp b/clang-tools-extra/unittests/clangd/TUSchedulerTests.cpp index 3908ae6..1ea1d61 100644 --- a/clang-tools-extra/unittests/clangd/TUSchedulerTests.cpp +++ b/clang-tools-extra/unittests/clangd/TUSchedulerTests.cpp @@ -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)); -- 2.7.4