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) {
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	}
Original file line number Diff line number Diff 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		}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments