Skip to content

Commit 9d6b793

Browse files
committed
Format
1 parent f47e2bc commit 9d6b793

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

client/stdio_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ func TestStdioMCPClient(t *testing.T) {
4545
}
4646
tempFile.Close()
4747
mockServerPath := tempFile.Name()
48-
48+
4949
// Add .exe suffix on Windows
5050
if runtime.GOOS == "windows" {
5151
os.Remove(mockServerPath) // Remove the empty file first
5252
mockServerPath += ".exe"
5353
}
54-
54+
5555
if compileErr := compileTestServer(mockServerPath); compileErr != nil {
5656
t.Fatalf("Failed to compile mock server: %v", compileErr)
5757
}

client/transport/stdio_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ func TestStdio(t *testing.T) {
4444
}
4545
tempFile.Close()
4646
mockServerPath := tempFile.Name()
47-
47+
4848
// Add .exe suffix on Windows
4949
if runtime.GOOS == "windows" {
5050
os.Remove(mockServerPath) // Remove the empty file first
5151
mockServerPath += ".exe"
5252
}
53-
53+
5454
if compileErr := compileTestServer(mockServerPath); compileErr != nil {
5555
t.Fatalf("Failed to compile mock server: %v", compileErr)
5656
}
@@ -329,13 +329,13 @@ func TestStdioErrors(t *testing.T) {
329329
}
330330
tempFile.Close()
331331
mockServerPath := tempFile.Name()
332-
332+
333333
// Add .exe suffix on Windows
334334
if runtime.GOOS == "windows" {
335335
os.Remove(mockServerPath) // Remove the empty file first
336336
mockServerPath += ".exe"
337337
}
338-
338+
339339
if compileErr := compileTestServer(mockServerPath); compileErr != nil {
340340
t.Fatalf("Failed to compile mock server: %v", compileErr)
341341
}
@@ -368,13 +368,13 @@ func TestStdioErrors(t *testing.T) {
368368
}
369369
tempFile.Close()
370370
mockServerPath := tempFile.Name()
371-
371+
372372
// Add .exe suffix on Windows
373373
if runtime.GOOS == "windows" {
374374
os.Remove(mockServerPath) // Remove the empty file first
375375
mockServerPath += ".exe"
376376
}
377-
377+
378378
if compileErr := compileTestServer(mockServerPath); compileErr != nil {
379379
t.Fatalf("Failed to compile mock server: %v", compileErr)
380380
}

0 commit comments

Comments
 (0)