Skip to content

Commit ddd5b45

Browse files
committed
revert degree symbol change
1 parent 1a6cdb4 commit ddd5b45

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

serve-mcp/src/test/java/build/serve/mcp/McpStdioTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void setUp() {
6565
server = McpServer.builder("test-server", "1.0.0")
6666
.tool(ToolDef.of("get_weather", "Get weather for a location")
6767
.param(location)
68-
.handle(args -> McpToolResult.text("Weather in " + location.extract(args) + ": sunny, 72F")))
68+
.handle(args -> McpToolResult.text("Weather in " + location.extract(args) + ": sunny, 72°F")))
6969
.build();
7070
}
7171

@@ -93,7 +93,7 @@ void shouldHandleToolsCall() {
9393
final var result = response.get("result").asObject();
9494
assertThat(result.get("isError").asBoolean().value()).isFalse();
9595
final var text = ((JsonArray) result.get("content")).values().get(0).asObject().getString("text");
96-
assertThat(text).isEqualTo("Weather in Berlin: sunny, 72F");
96+
assertThat(text).isEqualTo("Weather in Berlin: sunny, 72°F");
9797
}
9898

9999
@Test

0 commit comments

Comments
 (0)