build: fix make fmt
, reformat test sources (#234)
This commit is contained in:
@ -24,9 +24,9 @@ func TestNormalize(t *testing.T) {
|
||||
},
|
||||
{
|
||||
name: "github URL with extensions",
|
||||
in: url.URL{Host: "github.com", Path: "/influxdata/community-templates/blob/master/github/github.yml"},
|
||||
in: url.URL{Host: "github.com", Path: "/influxdata/community-templates/blob/master/github/github.yml"},
|
||||
exts: []string{".yaml", ".yml", ".jsonnet", ".json"},
|
||||
out: url.URL{Host: "raw.githubusercontent.com", Path: "/influxdata/community-templates/master/github/github.yml"},
|
||||
out: url.URL{Host: "raw.githubusercontent.com", Path: "/influxdata/community-templates/master/github/github.yml"},
|
||||
},
|
||||
{
|
||||
name: "other URL",
|
||||
|
Reference in New Issue
Block a user