Added windows-specific expected test output for ExitCodeFmt test

master
Chris Bednarski 4 years ago
parent fdfc2f9001
commit b5e6f45648

@ -272,6 +272,12 @@ func TestExitCodeFmt(t *testing.T) {
finalExpected := `127.0.0.1 localhost kubernetes.docker.internal
::1 localhost
`
if runtime.GOOS == "windows" {
finalExpected = `127.0.0.1 localhost
127.0.0.1 kubernetes.docker.internal
::1 localhost
`
}
state3, err := ioutil.ReadFile(temp)
if err != nil {

Loading…
Cancel
Save