From: Sam McCall Date: Thu, 5 Mar 2020 09:11:44 +0000 (+0100) Subject: [clangd] Fix test (it worked by coincidence before) X-Git-Tag: llvmorg-12-init~12868 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5abfe646f5e194bb2330b80c7f0e23fba00e30fe;p=platform%2Fupstream%2Fllvm.git [clangd] Fix test (it worked by coincidence before) --- diff --git a/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp b/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp index 6ca6e54..c9569d2 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) {