This commit is contained in:
Gregor Noczinski 2016-01-20 10:56:46 +01:00
parent f3c8e07836
commit 01fdb2cca9

View File

@ -58,7 +58,7 @@ func TestCommand_Run_DoesNotOverwriteErrorFromBefore(t *testing.T) {
err := app.Run([]string{"foo", "bar"}) err := app.Run([]string{"foo", "bar"})
if err == nil { if err == nil {
t.Fatalf("expected to recieve error from Run, got none") t.Fatalf("expected to receive error from Run, got none")
} }
if !strings.Contains(err.Error(), "before error") { if !strings.Contains(err.Error(), "before error") {