From 5abfe646f5e194bb2330b80c7f0e23fba00e30fe Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Thu, 5 Mar 2020 10:11:44 +0100 Subject: [PATCH] [clangd] Fix test (it worked by coincidence before) --- clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {