aboutsummaryrefslogtreecommitdiff
path: root/transaction_test.go
blob: 0b03d5eec0e442e4f265f5bc0d726809ab059067 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package bolt

import (
	"testing"

//	"github.com/stretchr/testify/assert"
)

//--------------------------------------
// Cursor()
//--------------------------------------

// Ensure that a read transaction can get a cursor.
func TestTransactionCursor(t *testing.T) {
	withOpenDB(func(db *DB, path string) {
		/*
		txn, _ := db.Transaction(false)
		c := txn.Cursor()
		assert.NotNil(t, c)
		*/
	})
}