(t *testing.T)
| 69 | } |
| 70 | |
| 71 | func TestPwd_Command_Linux(t *testing.T) { |
| 72 | if cmd := pwdCommand("Linux", nil); cmd != "pwd" { |
| 73 | t.Errorf("Linux pwd: got %q", cmd) |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | func TestPwd_Command_Windows(t *testing.T) { |
| 78 | if cmd := pwdCommand("Windows", nil); cmd != "cd" { |
nothing calls this directly
no test coverage detected