Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsWindowsUNCPath (0.18 sec)

  1. pkg/volume/util/util_test.go

    		result := GetWindowsPath(test.path)
    		if result != test.expectedPath {
    			t.Errorf("GetWindowsPath(%v) returned (%v), want (%v)", test.path, result, test.expectedPath)
    		}
    	}
    }
    
    func TestIsWindowsUNCPath(t *testing.T) {
    	tests := []struct {
    		goos      string
    		path      string
    		isUNCPath bool
    	}{
    		{
    			goos:      "linux",
    			path:      `/usr/bin`,
    			isUNCPath: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top