Rename to yq

This commit is contained in:
Tim Hobbs 2018-04-09 07:43:22 +02:00 committed by Mike Farah
parent f2e10f21c7
commit 26153b3eb5

View File

@ -103,7 +103,7 @@ func TestRootCmd_VersionShort(t *testing.T) {
if result.Error != nil { if result.Error != nil {
t.Error(result.Error) 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.") 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 { if result.Error != nil {
t.Error(result.Error) 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.") t.Error("expected version message to be printed out, but the message was not found.")
} }
} }