From 26153b3eb5ff3de1d411dd10a459cd6a92c6e035 Mon Sep 17 00:00:00 2001 From: Tim Hobbs Date: Mon, 9 Apr 2018 07:43:22 +0200 Subject: [PATCH] Rename to yq --- commands_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.") } }