@@ -283,7 +283,7 @@ func TestGet(t *testing.T) {
283
283
})
284
284
})
285
285
t .Run ("InMemory mode" , func (t * testing.T ) {
286
- opts := DefaultOptions ("" ).WithInmemory (true )
286
+ opts := DefaultOptions ("" ).WithInMemory (true )
287
287
db , err := Open (opts )
288
288
require .NoError (t , err )
289
289
test (t , db )
@@ -543,7 +543,7 @@ func TestExistsMore(t *testing.T) {
543
543
})
544
544
})
545
545
t .Run ("InMemory mode" , func (t * testing.T ) {
546
- opt := DefaultOptions ("" ).WithInmemory (true )
546
+ opt := DefaultOptions ("" ).WithInMemory (true )
547
547
db , err := Open (opt )
548
548
require .NoError (t , err )
549
549
test (t , db )
@@ -617,7 +617,7 @@ func TestIterate2Basic(t *testing.T) {
617
617
})
618
618
})
619
619
t .Run ("InMemory mode" , func (t * testing.T ) {
620
- opt := DefaultOptions ("" ).WithInmemory (true )
620
+ opt := DefaultOptions ("" ).WithInMemory (true )
621
621
db , err := Open (opt )
622
622
require .NoError (t , err )
623
623
test (t , db )
@@ -1662,7 +1662,7 @@ func TestGoroutineLeak(t *testing.T) {
1662
1662
test (t , nil )
1663
1663
})
1664
1664
t .Run ("InMemory mode" , func (t * testing.T ) {
1665
- opt := DefaultOptions ("" ).WithInmemory (true )
1665
+ opt := DefaultOptions ("" ).WithInMemory (true )
1666
1666
test (t , & opt )
1667
1667
})
1668
1668
}
@@ -2034,7 +2034,7 @@ func removeDir(dir string) {
2034
2034
}
2035
2035
2036
2036
func TestWriteInemory (t * testing.T ) {
2037
- opt := DefaultOptions ("" ).WithInmemory (true )
2037
+ opt := DefaultOptions ("" ).WithInMemory (true )
2038
2038
db , err := Open (opt )
2039
2039
require .NoError (t , err )
2040
2040
defer func () {
0 commit comments