diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-10 16:58:16 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-10 16:58:16 -0700 |
commit | a68bd301db09ef5465f12ff4242696799da5b14d (patch) | |
tree | b6dc2efd0908df4ca7ff270181e46a1e4d85a77c /transaction_test.go | |
parent | Clean up. (diff) | |
parent | Add freelist. (diff) | |
download | dedo-a68bd301db09ef5465f12ff4242696799da5b14d.tar.gz dedo-a68bd301db09ef5465f12ff4242696799da5b14d.tar.xz |
Merge pull request #20 from benbjohnson/freelist
Freelist
Diffstat (limited to 'transaction_test.go')
-rw-r--r-- | transaction_test.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/transaction_test.go b/transaction_test.go index 55e8bde..6041f2f 100644 --- a/transaction_test.go +++ b/transaction_test.go @@ -6,6 +6,11 @@ import ( "github.com/stretchr/testify/assert" ) +// Ensure that the database can retrieve a list of buckets. +func TestTransactionBuckets(t *testing.T) { + t.Skip("pending") // TODO(benbjohnson) +} + // Ensure that a Transaction can retrieve a bucket. func TestTransactionBucketMissing(t *testing.T) { withOpenDB(func(db *DB, path string) { @@ -19,7 +24,7 @@ func TestTransactionBucketMissing(t *testing.T) { } // Ensure that a Transaction retrieving a non-existent key returns nil. -func TestTransactionGetMising(t *testing.T) { +func TestTransactionGetMissing(t *testing.T) { withOpenDB(func(db *DB, path string) { db.CreateBucket("widgets") db.Put("widgets", []byte("foo"), []byte("bar")) |