Fixing go vet issues with errorf params

This commit is contained in:
Sarah Jamie Lewis 2018-01-06 16:37:07 -08:00
parent 05e8675ed5
commit be62634c46
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,6 @@ import (
func TestIdentity(t *testing.T) {
id := identity.Init("../testing/private_key")
if id.Hostname() != "kwke2hntvyfqm7dr" {
t.Errorf("Expected %v as Hostname() got: ", "kwke2hntvyfqm7dr", id.Hostname())
t.Errorf("Expected %v as Hostname() got: %v", "kwke2hntvyfqm7dr", id.Hostname())
}
}