diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-09 15:52:19 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-10 14:04:01 -0700 |
commit | 509e93dff4cedf88d91ba2c99385da0b4e41eb6a (patch) | |
tree | b6dc2efd0908df4ca7ff270181e46a1e4d85a77c /transaction_test.go | |
parent | Clean up. (diff) | |
download | dedo-509e93dff4cedf88d91ba2c99385da0b4e41eb6a.tar.gz dedo-509e93dff4cedf88d91ba2c99385da0b4e41eb6a.tar.xz |
Add 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")) |