mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-09-02 02:05:15 +00:00
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
|
// verify that the entire wallet's sync height matches the
|
||||||
// expected createHeight.
|
// expected createHeight.
|
||||||
if h := w.SyncHeight(); h != 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -916,7 +916,7 @@ func TestImportScript(t *testing.T) {
|
||||||
// verify that the entire wallet's sync height matches the
|
// verify that the entire wallet's sync height matches the
|
||||||
// expected createHeight.
|
// expected createHeight.
|
||||||
if h := w.SyncHeight(); h != 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue