Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStringPathNotResolved (0.21 sec)

  1. src/os/exec/exec_test.go

    		cmd := exec.Command(test.path, test.args...)
    		if got := cmd.String(); got != test.want {
    			t.Errorf("String(%q, %q) = %q, want %q", test.path, test.args, got, test.want)
    		}
    	}
    }
    
    func TestStringPathNotResolved(t *testing.T) {
    	t.Parallel()
    
    	_, err := exec.LookPath("makemeasandwich")
    	if err == nil {
    		t.Skip("wow, thanks")
    	}
    
    	cmd := exec.Command("makemeasandwich", "-lettuce")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top