You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/kotlin/AbstractToolIntegrationTest.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -289,7 +289,7 @@ abstract class AbstractToolIntegrationTest : KotlinTestBase() {
289
289
}
290
290
291
291
val pattern =if (precision >0) "0."+"0".repeat(precision) else"0"
292
-
val symbols =DecimalFormatSymbols(Locale.US).apply { decimalSeparator =',' }
292
+
val symbols =DecimalFormatSymbols(Locale.US).apply { decimalSeparator ='.' }
293
293
val df =DecimalFormat(pattern, symbols).apply { isGroupingUsed =false }
294
294
val formattedResult = df.format(result)
295
295
@@ -482,9 +482,9 @@ abstract class AbstractToolIntegrationTest : KotlinTestBase() {
482
482
"a" : 5.5,
483
483
"b" : 2.0,
484
484
"result" : 11.0,
485
-
"formattedResult" : "11,000",
485
+
"formattedResult" : "11.000",
486
486
"precision" : 3,
487
-
"tags" : [ ]
487
+
"tags" : [ "test", "calculator", "integration" ]
488
488
}
489
489
""".trimIndent()
490
490
@@ -633,7 +633,7 @@ abstract class AbstractToolIntegrationTest : KotlinTestBase() {
0 commit comments