diff --git a/commands_test.go b/commands_test.go index b14ccd0..20e7896 100644 --- a/commands_test.go +++ b/commands_test.go @@ -103,7 +103,7 @@ func TestRootCmd_VersionShort(t *testing.T) { if result.Error != nil { t.Error(result.Error) } - if !strings.Contains(result.Output, "yaml version") { + if !strings.Contains(result.Output, "yq version") { t.Error("expected version message to be printed out, but the message was not found.") } } @@ -114,7 +114,7 @@ func TestRootCmd_VersionLong(t *testing.T) { if result.Error != nil { t.Error(result.Error) } - if !strings.Contains(result.Output, "yaml version") { + if !strings.Contains(result.Output, "yq version") { t.Error("expected version message to be printed out, but the message was not found.") } }