aboutsummaryrefslogtreecommitdiff
path: root/transaction_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-01-28 14:52:09 -0500
committerBen Johnson <benbjohnson@yahoo.com>2014-01-28 14:52:09 -0500
commit044d7b78932362869a530e334f0499346f3fc085 (patch)
tree599935c45beb48803ba19ad70782fb122e9414d6 /transaction_test.go
parentRename lpage/lpnode to mpage/mnode. (diff)
downloaddedo-044d7b78932362869a530e334f0499346f3fc085.tar.gz
dedo-044d7b78932362869a530e334f0499346f3fc085.tar.xz
Clean up test suite.
Diffstat (limited to 'transaction_test.go')
-rw-r--r--transaction_test.go17
1 files changed, 2 insertions, 15 deletions
diff --git a/transaction_test.go b/transaction_test.go
index 084ef6d..e3d2e87 100644
--- a/transaction_test.go
+++ b/transaction_test.go
@@ -2,27 +2,14 @@ package bolt
import (
"testing"
-
- "github.com/stretchr/testify/assert"
)
// Ensure that a bucket can be created and retrieved.
func TestTransactionCreateBucket(t *testing.T) {
- withOpenDB(func(db *DB, path string) {
- txn, _ := db.RWTransaction()
- err := txn.CreateBucket("foo")
- if assert.NoError(t, err) {
- assert.NotNil(t, txn.Bucket("foo"))
- }
- })
+ t.Skip("pending")
}
// Ensure that an existing bucket cannot be created.
func TestTransactionCreateExistingBucket(t *testing.T) {
- withOpenDB(func(db *DB, path string) {
- txn, _ := db.RWTransaction()
- txn.CreateBucket("foo")
- err := txn.CreateBucket("foo")
- assert.Equal(t, err, BucketAlreadyExistsError)
- })
+ t.Skip("pending")
}