From 9674acf6848a9b8a50e33e981ba3acf3e9477887 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Thu, 19 Nov 2020 22:53:05 +1100 Subject: [PATCH] Fixed docker file, fixed doco --- Dockerfile | 2 +- pkg/yqlib/operator_assign_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4386172..6dafe03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,4 @@ LABEL version=${VERSION} WORKDIR /workdir -ENTRYPOINT [/usr/bin/yq] \ No newline at end of file +ENTRYPOINT /usr/bin/yq diff --git a/pkg/yqlib/operator_assign_test.go b/pkg/yqlib/operator_assign_test.go index 8c5fb38..c3d50bb 100644 --- a/pkg/yqlib/operator_assign_test.go +++ b/pkg/yqlib/operator_assign_test.go @@ -6,7 +6,7 @@ import ( var assignOperatorScenarios = []expressionScenario{ { - description: "Update parent to be the child value", + description: "Update node to be the child value", document: `{a: {b: {g: foof}}}`, expression: `.a |= .b`, expected: []string{ @@ -14,7 +14,7 @@ var assignOperatorScenarios = []expressionScenario{ }, }, { - description: "Update to be the sibling value", + description: "Update node to be the sibling value", document: `{a: {b: child}, b: sibling}`, expression: `.a = .b`, expected: []string{