mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
helpers: fix some go vet errors
This commit is contained in:
@@ -550,7 +550,7 @@ func TestRemoveSubpaths(t *testing.T) {
|
||||
got := RemoveSubpaths([]string{"hello", "hello/world", "foo/bar", ""})
|
||||
expect := []string{"hello", "foo/bar"}
|
||||
if !reflect.DeepEqual(got, expect) {
|
||||
t.Errorf("Test %d failed. Expected %q but got %q", expect, got)
|
||||
t.Errorf("Expected %q but got %q", expect, got)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user