mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 22:50:35 +03:00
Fix errors reported by Go Vet
This commit is contained in:
parent
c4c19ad303
commit
103ea842f8
9 changed files with 21 additions and 21 deletions
|
@ -34,7 +34,7 @@ func TestFixUrl(t *testing.T) {
|
|||
serverPort = test.Port
|
||||
result, err := fixUrl(BaseUrl)
|
||||
if err != nil {
|
||||
t.Errorf("Test #%d %s: unexpected error %s", err)
|
||||
t.Errorf("Test #%d %s: unexpected error %s", i, test.TestName, err)
|
||||
}
|
||||
if result != test.Result {
|
||||
t.Errorf("Test #%d %s: expected %q, got %q", i, test.TestName, test.Result, result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue