Use t.Errorf for test formatting directives.
This commit is contained in:
parent
368204a58a
commit
df18578bc9
1 changed files with 2 additions and 2 deletions
|
@ -752,7 +752,7 @@ func TestImportPrivateKey(t *testing.T) {
|
|||
// verify that the entire wallet's sync height matches the
|
||||
// expected createHeight.
|
||||
if h := w.SyncHeight(); h != createHeight {
|
||||
t.Error("Initial sync height %v does not match expected %v.", h, createHeight)
|
||||
t.Errorf("Initial sync height %v does not match expected %v.", h, createHeight)
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -916,7 +916,7 @@ func TestImportScript(t *testing.T) {
|
|||
// verify that the entire wallet's sync height matches the
|
||||
// expected createHeight.
|
||||
if h := w.SyncHeight(); h != createHeight {
|
||||
t.Error("Initial sync height %v does not match expected %v.", h, createHeight)
|
||||
t.Errorf("Initial sync height %v does not match expected %v.", h, createHeight)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue