diff options
Diffstat (limited to 'cmd/bolt/buckets_test.go')
-rw-r--r-- | cmd/bolt/buckets_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/bolt/buckets_test.go b/cmd/bolt/buckets_test.go index 27ee619..d5050fd 100644 --- a/cmd/bolt/buckets_test.go +++ b/cmd/bolt/buckets_test.go @@ -5,7 +5,6 @@ import ( "github.com/boltdb/bolt" . "github.com/boltdb/bolt/cmd/bolt" - "github.com/stretchr/testify/assert" ) // Ensure that a list of buckets can be retrieved. @@ -20,7 +19,7 @@ func TestBuckets(t *testing.T) { }) db.Close() output := run("buckets", path) - assert.Equal(t, "whatchits\nwidgets\nwoojits", output) + equals(t, "whatchits\nwidgets\nwoojits", output) }) } @@ -28,5 +27,5 @@ func TestBuckets(t *testing.T) { func TestBucketsDBNotFound(t *testing.T) { SetTestMode(true) output := run("buckets", "no/such/db") - assert.Equal(t, "stat no/such/db: no such file or directory", output) + equals(t, "stat no/such/db: no such file or directory", output) } |