mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-08 06:45:38 +00:00
Rename to yq
This commit is contained in:
parent
a8271f12bd
commit
3626256a16
@ -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.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user