change RunCommand for test config

pull/5150/head
Medya Gh 2019-08-21 13:53:35 -07:00
parent 16e5aeec5e
commit 0f0def79ce
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func TestConfig(t *testing.T) {
}
for _, tc := range tests {
stdout, stderr := mk.MustRun(tc.cmd)
stdout, stderr := mk.RunCommand(tc.cmd, false)
if !compare(tc.stdout, stdout) {
t.Fatalf("Expected stdout to be: %s. Stdout was: %s Stderr: %s", tc.stdout, stdout, stderr)
}