From 13b8fb634597510f8ff11b2d78890beaee650051 Mon Sep 17 00:00:00 2001 From: Monard Vong Date: Sun, 15 Sep 2019 23:29:54 +0200 Subject: [PATCH] remove trailing whitespace --- pkg/util/command_util_test.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkg/util/command_util_test.go b/pkg/util/command_util_test.go index 6f7aa01a7..c9b0255b1 100644 --- a/pkg/util/command_util_test.go +++ b/pkg/util/command_util_test.go @@ -105,6 +105,14 @@ var testEnvReplacement = []struct { isFilepath: true, expectedPath: "http://example.com", }, + { + path: "$url", + envs: []string{ + "url=http://example.com", + }, + isFilepath: false, + expectedPath: "http://example.com", + }, } func Test_EnvReplacement(t *testing.T) { @@ -489,7 +497,7 @@ func TestResolveEnvironmentReplacementList(t *testing.T) { }, }, want: []string{"https://google.com/baz", "bat", "https://google.com"}, - }, + }, { name: "mixed", args: args{