File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mlir/unittests/Tools/lsp-server-support Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ TEST_F(TransportInputTest, OutgoingRequest) {
147147 auto callFn =
148148 getMessageHandler ().outgoingRequest <CompletionList, CompletionContext>(
149149 " outgoing-request" ,
150- [&responseCallbackInvoked](llvm::json::Value id,
150+ [&responseCallbackInvoked](const llvm::json::Value & id,
151151 llvm::Expected<CompletionContext> result) {
152152 // Make expectations on the expected response.
153153 EXPECT_EQ (id, 83 );
@@ -177,7 +177,7 @@ TEST_F(TransportInputTest, OutgoingRequestJSONParseFailure) {
177177 bool responseCallbackInvoked = false ;
178178 auto callFn = getMessageHandler ().outgoingRequest <CompletionList, Position>(
179179 " outgoing-request-json-parse-failure" ,
180- [&responseCallbackInvoked](llvm::json::Value id,
180+ [&responseCallbackInvoked](const llvm::json::Value & id,
181181 llvm::Expected<Position> result) {
182182 llvm::Error err = result.takeError ();
183183 EXPECT_EQ (id, 109 );
You can’t perform that action at this time.
0 commit comments