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, isFilepath: true,
expectedPath: "http://example.com", expectedPath: "http://example.com",
}, },
{
path: "$url",
envs: []string{
"url=http://example.com",
},
isFilepath: false,
expectedPath: "http://example.com",
},
} }
func Test_EnvReplacement(t *testing.T) { func Test_EnvReplacement(t *testing.T) {