disk_test.go 170 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 package kvstore import "testing" func TestDiskKV(t *testing.T) { tmp := t.TempDir() // automatically removed by testing cleanup kv := NewDiskKV(tmp) kvTest(t, kv) }