mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Fix errors reported by Go Vet
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user