remove trailing whitespace

This commit is contained in:
Monard Vong 2019-09-15 23:29:54 +02:00
parent 38474fad11
commit 13b8fb6345
1 changed files with 9 additions and 1 deletions

View File

@ -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{