Skip to content

Commit

Permalink
fix test name
Browse files Browse the repository at this point in the history
  • Loading branch information
JFixby committed Aug 1, 2018
1 parent 12e2012 commit e432eb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db/dcrsqlite/dcrsqlite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion db/dcrsqlite/retrieveallpoolvalandsize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion db/dcrsqlite/retrieveblockfeeinfo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e432eb0

Please sign in to comment.