File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ func TestStdioMCPClient(t *testing.T) {
45
45
}
46
46
tempFile .Close ()
47
47
mockServerPath := tempFile .Name ()
48
-
48
+
49
49
// Add .exe suffix on Windows
50
50
if runtime .GOOS == "windows" {
51
51
os .Remove (mockServerPath ) // Remove the empty file first
52
52
mockServerPath += ".exe"
53
53
}
54
-
54
+
55
55
if compileErr := compileTestServer (mockServerPath ); compileErr != nil {
56
56
t .Fatalf ("Failed to compile mock server: %v" , compileErr )
57
57
}
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ func TestStdio(t *testing.T) {
44
44
}
45
45
tempFile .Close ()
46
46
mockServerPath := tempFile .Name ()
47
-
47
+
48
48
// Add .exe suffix on Windows
49
49
if runtime .GOOS == "windows" {
50
50
os .Remove (mockServerPath ) // Remove the empty file first
51
51
mockServerPath += ".exe"
52
52
}
53
-
53
+
54
54
if compileErr := compileTestServer (mockServerPath ); compileErr != nil {
55
55
t .Fatalf ("Failed to compile mock server: %v" , compileErr )
56
56
}
@@ -329,13 +329,13 @@ func TestStdioErrors(t *testing.T) {
329
329
}
330
330
tempFile .Close ()
331
331
mockServerPath := tempFile .Name ()
332
-
332
+
333
333
// Add .exe suffix on Windows
334
334
if runtime .GOOS == "windows" {
335
335
os .Remove (mockServerPath ) // Remove the empty file first
336
336
mockServerPath += ".exe"
337
337
}
338
-
338
+
339
339
if compileErr := compileTestServer (mockServerPath ); compileErr != nil {
340
340
t .Fatalf ("Failed to compile mock server: %v" , compileErr )
341
341
}
@@ -368,13 +368,13 @@ func TestStdioErrors(t *testing.T) {
368
368
}
369
369
tempFile .Close ()
370
370
mockServerPath := tempFile .Name ()
371
-
371
+
372
372
// Add .exe suffix on Windows
373
373
if runtime .GOOS == "windows" {
374
374
os .Remove (mockServerPath ) // Remove the empty file first
375
375
mockServerPath += ".exe"
376
376
}
377
-
377
+
378
378
if compileErr := compileTestServer (mockServerPath ); compileErr != nil {
379
379
t .Fatalf ("Failed to compile mock server: %v" , compileErr )
380
380
}
You can’t perform that action at this time.
0 commit comments