@@ -283,7 +283,7 @@ func TestGet(t *testing.T) {
283283 })
284284 })
285285 t .Run ("InMemory mode" , func (t * testing.T ) {
286- opts := DefaultOptions ("" ).WithInmemory (true )
286+ opts := DefaultOptions ("" ).WithInMemory (true )
287287 db , err := Open (opts )
288288 require .NoError (t , err )
289289 test (t , db )
@@ -543,7 +543,7 @@ func TestExistsMore(t *testing.T) {
543543 })
544544 })
545545 t .Run ("InMemory mode" , func (t * testing.T ) {
546- opt := DefaultOptions ("" ).WithInmemory (true )
546+ opt := DefaultOptions ("" ).WithInMemory (true )
547547 db , err := Open (opt )
548548 require .NoError (t , err )
549549 test (t , db )
@@ -617,7 +617,7 @@ func TestIterate2Basic(t *testing.T) {
617617 })
618618 })
619619 t .Run ("InMemory mode" , func (t * testing.T ) {
620- opt := DefaultOptions ("" ).WithInmemory (true )
620+ opt := DefaultOptions ("" ).WithInMemory (true )
621621 db , err := Open (opt )
622622 require .NoError (t , err )
623623 test (t , db )
@@ -1662,7 +1662,7 @@ func TestGoroutineLeak(t *testing.T) {
16621662 test (t , nil )
16631663 })
16641664 t .Run ("InMemory mode" , func (t * testing.T ) {
1665- opt := DefaultOptions ("" ).WithInmemory (true )
1665+ opt := DefaultOptions ("" ).WithInMemory (true )
16661666 test (t , & opt )
16671667 })
16681668}
@@ -2034,7 +2034,7 @@ func removeDir(dir string) {
20342034}
20352035
20362036func TestWriteInemory (t * testing.T ) {
2037- opt := DefaultOptions ("" ).WithInmemory (true )
2037+ opt := DefaultOptions ("" ).WithInMemory (true )
20382038 db , err := Open (opt )
20392039 require .NoError (t , err )
20402040 defer func () {
0 commit comments