Skip to content
Snippets Groups Projects
Commit c8ceb708 authored by Danis Kirasirov's avatar Danis Kirasirov
Browse files

refactor test name

parent e80aa0ee
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ func TestFile_SetURLWithTemplate(t *testing.T) { ...@@ -25,7 +25,7 @@ func TestFile_SetURLWithTemplate(t *testing.T) {
wantURL: "https://cloud.com/", wantURL: "https://cloud.com/",
}, },
{ {
name: "template is bad", name: "template with non-existent field",
file: &File{}, file: &File{},
template: template.Must(template.New("url").Parse("{{.NonExistentField}}")), template: template.Must(template.New("url").Parse("{{.NonExistentField}}")),
wantErr: true, wantErr: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment