From df18578bc9567819bb3f7d7ceee2005b8e8f1574 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 30 May 2014 15:34:39 -0500 Subject: [PATCH] Use t.Errorf for test formatting directives. --- wallet/wallet_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wallet/wallet_test.go b/wallet/wallet_test.go index b4a970d..da018f2 100644 --- a/wallet/wallet_test.go +++ b/wallet/wallet_test.go @@ -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 }