(t *testing.T)
| 116 | } |
| 117 | |
| 118 | func TestExecutablePath(t *testing.T) { |
| 119 | override := strings.Join([]string{"C:", "cygwin64", "home", "gh.exe"}, string(os.PathSeparator)) |
| 120 | t.Setenv("GH_PATH", override) |
| 121 | require.Equal(t, override, executablePath("gh")) |
| 122 | } |
nothing calls this directly
no test coverage detected