From 44e6192d2bdecf1336e372686f15417ed98c4b16 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sat, 26 Jul 2014 17:17:03 -0600 Subject: Remove testify. --- cmd/bolt/export_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmd/bolt/export_test.go') diff --git a/cmd/bolt/export_test.go b/cmd/bolt/export_test.go index 13f57d1..d98403c 100644 --- a/cmd/bolt/export_test.go +++ b/cmd/bolt/export_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 database can be exported. @@ -32,7 +31,7 @@ func TestExport(t *testing.T) { }) db.Close() output := run("export", path) - assert.Equal(t, `[{"type":"bucket","key":"ZW1wdHk=","value":[]},{"type":"bucket","key":"d2lkZ2V0cw==","value":[{"key":"YmFy","value":""},{"key":"Zm9v","value":"MDAwMA=="}]},{"type":"bucket","key":"d29vaml0cw==","value":[{"key":"YmF6","value":"WFhYWA=="},{"type":"bucket","key":"d29vaml0cy9zdWJidWNrZXQ=","value":[{"key":"YmF0","value":"QQ=="}]}]}]`, output) + equals(t, `[{"type":"bucket","key":"ZW1wdHk=","value":[]},{"type":"bucket","key":"d2lkZ2V0cw==","value":[{"key":"YmFy","value":""},{"key":"Zm9v","value":"MDAwMA=="}]},{"type":"bucket","key":"d29vaml0cw==","value":[{"key":"YmF6","value":"WFhYWA=="},{"type":"bucket","key":"d29vaml0cy9zdWJidWNrZXQ=","value":[{"key":"YmF0","value":"QQ=="}]}]}]`, output) }) } @@ -40,5 +39,5 @@ func TestExport(t *testing.T) { func TestExport_NotFound(t *testing.T) { SetTestMode(true) output := run("export", "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) } -- cgit v1.2.3