[clang-tools-extra] 5abfe64 - [clangd] Fix test (it worked by coincidence before)
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 5 01:12:50 PST 2020
Author: Sam McCall
Date: 2020-03-05T10:11:55+01:00
New Revision: 5abfe646f5e194bb2330b80c7f0e23fba00e30fe
URL: https://github.com/llvm/llvm-project/commit/5abfe646f5e194bb2330b80c7f0e23fba00e30fe
DIFF: https://github.com/llvm/llvm-project/commit/5abfe646f5e194bb2330b80c7f0e23fba00e30fe.diff
LOG: [clangd] Fix test (it worked by coincidence before)
Added:
Modified:
clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp b/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
index 6ca6e5479677..c9569d2d96cc 100644
--- a/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
+++ b/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
@@ -466,7 +466,7 @@ TEST_F(TUSchedulerTests, ManyUpdates) {
auto Inputs = getInputs(File, Contents.str());
{
WithContextValue WithNonce(NonceKey, ++Nonce);
- Inputs.Version = Nonce;
+ Inputs.Version = std::to_string(Nonce);
updateWithDiags(
S, File, Inputs, WantDiagnostics::Auto,
[File, Nonce, &Mut, &TotalUpdates](std::vector<Diag>) {
More information about the cfe-commits
mailing list