diff options
| author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-16 12:18:44 -0700 |
|---|---|---|
| committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-16 12:18:44 -0700 |
| commit | 149afc8c9b3bd9b4467fc686d69d83d1781b8f67 (patch) | |
| tree | 60aa467371dcf20aa32634b5f2e66c9f3b52f51b /transaction_test.go | |
| parent | Add Stringer support. (diff) | |
| download | dedo-149afc8c9b3bd9b4467fc686d69d83d1781b8f67.tar.gz dedo-149afc8c9b3bd9b4467fc686d69d83d1781b8f67.tar.xz | |
Rename errors.
Diffstat (limited to '')
| -rw-r--r-- | transaction_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transaction_test.go b/transaction_test.go index 5a7177f..30274d5 100644 --- a/transaction_test.go +++ b/transaction_test.go @@ -69,7 +69,7 @@ func TestTransactionCursorMissingBucket(t *testing.T) { txn, _ := db.Transaction() c, err := txn.Cursor("woojits") assert.Nil(t, c) - assert.Equal(t, err, BucketNotFoundError) + assert.Equal(t, err, ErrBucketNotFound) txn.Close() }) } |
