From e432eb08e13d68abf9b78445775f609f29d0c1f7 Mon Sep 17 00:00:00 2001 From: J Fixby Date: Wed, 25 Jul 2018 11:26:04 +0200 Subject: [PATCH] fix test name --- db/dcrsqlite/dcrsqlite_test.go | 2 +- db/dcrsqlite/retrieveallpoolvalandsize_test.go | 2 +- db/dcrsqlite/retrieveblockfeeinfo_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/dcrsqlite/dcrsqlite_test.go b/db/dcrsqlite/dcrsqlite_test.go index 80c8717a02..0b4dfc5ad3 100644 --- a/db/dcrsqlite/dcrsqlite_test.go +++ b/db/dcrsqlite/dcrsqlite_test.go @@ -40,7 +40,7 @@ func InitTestDB(targetDBFile string) *DB { func checkChartsDataIsDefault(functionName string, chartsData *dbtypes.ChartsData) { if chartsData == nil { testutil.ReportTestFailed( - functionName + "() failed: default result expected") + functionName + "() failed: value is nil") } // Array checks: if len(chartsData.TimeStr) != 0 { diff --git a/db/dcrsqlite/retrieveallpoolvalandsize_test.go b/db/dcrsqlite/retrieveallpoolvalandsize_test.go index 261bc77f7f..3c13feedd7 100644 --- a/db/dcrsqlite/retrieveallpoolvalandsize_test.go +++ b/db/dcrsqlite/retrieveallpoolvalandsize_test.go @@ -6,7 +6,7 @@ import ( "github.com/decred/dcrdata/testutil" ) -func TestRetrieveAllPoolValAndSize(t *testing.T) { +func TestEmptyDBRetrieveAllPoolValAndSize(t *testing.T) { testutil.BindCurrentTestSetup(t) db := InitTestDB(DBPathForTest()) testEmptyDBRetrieveAllPoolValAndSize(db) diff --git a/db/dcrsqlite/retrieveblockfeeinfo_test.go b/db/dcrsqlite/retrieveblockfeeinfo_test.go index 7aa2de6d71..7771d09f44 100644 --- a/db/dcrsqlite/retrieveblockfeeinfo_test.go +++ b/db/dcrsqlite/retrieveblockfeeinfo_test.go @@ -6,7 +6,7 @@ import ( "github.com/decred/dcrdata/testutil" ) -func TestRetrieveBlockFeeInfo(t *testing.T) { +func TestEmptyDBRetrieveBlockFeeInfo(t *testing.T) { testutil.BindCurrentTestSetup(t) db := InitTestDB(DBPathForTest()) testEmptyDBRetrieveBlockFeeInfo(db)