We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b122c4 + 353a8a7 commit 964af97Copy full SHA for 964af97
ds_test.go
@@ -30,7 +30,7 @@ var testcases = map[string]string{
30
//
31
// d, close := newDS(t)
32
// defer close()
33
-func newDS(t *testing.T) (*datastore, func()) {
+func newDS(t *testing.T) (*Datastore, func()) {
34
path, err := ioutil.TempDir("/tmp", "testing_badger_")
35
if err != nil {
36
t.Fatal(err)
@@ -46,7 +46,7 @@ func newDS(t *testing.T) (*datastore, func()) {
46
}
47
48
49
-func addTestCases(t *testing.T, d *datastore, testcases map[string]string) {
+func addTestCases(t *testing.T, d *Datastore, testcases map[string]string) {
50
for k, v := range testcases {
51
dsk := ds.NewKey(k)
52
if err := d.Put(dsk, []byte(v)); err != nil {
0 commit comments