@@ -388,8 +388,8 @@ void testToolCallSuccess() {
388388 new McpSchema .Tool ("tool1" , "tool1 description" , emptyJsonSchema ), (exchange , request ) -> {
389389 // perform a blocking call to a remote service
390390 String response = RestClient .create ()
391- .get ()https : //raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
392- .uri ("https://github. com/modelcontextprotocol/specification/blob /main/README.md" )
391+ .get ()
392+ .uri ("https://raw.githubusercontent. com/modelcontextprotocol/java-sdk/refs/heads /main/README.md" )
393393 .retrieve ()
394394 .body (String .class );
395395 assertThat (response ).isNotBlank ();
@@ -424,9 +424,9 @@ void testToolListChangeHandlingSuccess() {
424424 McpServerFeatures .SyncToolSpecification tool1 = new McpServerFeatures .SyncToolSpecification (
425425 new McpSchema .Tool ("tool1" , "tool1 description" , emptyJsonSchema ), (exchange , request ) -> {
426426 // perform a blocking call to a remote service
427- String https : //raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
427+ String response = RestClient . create ()
428428 .get ()
429- .uri ("https://github. com/modelcontextprotocol/specification/blob /main/README.md" )
429+ .uri ("https://raw.githubusercontent. com/modelcontextprotocol/java-sdk/refs/heads /main/README.md" )
430430 .retrieve ()
431431 .body (String .class );
432432 assertThat (response ).isNotBlank ();
@@ -441,9 +441,9 @@ void testToolListChangeHandlingSuccess() {
441441 AtomicReference <List <Tool >> rootsRef = new AtomicReference <>();
442442 var mcpClient = clientBuilder .toolsChangeConsumer (toolsUpdate -> {
443443 // perform a blocking call to a remote service
444- String https : //raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
444+ String response = RestClient . create ()
445445 .get ()
446- .uri ("https://github. com/modelcontextprotocol/specification/blob /main/README.md" )
446+ .uri ("https://raw.githubusercontent. com/modelcontextprotocol/java-sdk/refs/heads /main/README.md" )
447447 .retrieve ()
448448 .body (String .class );
449449 assertThat (response ).isNotBlank ();
0 commit comments