ledisdb/ledis/t_kv_test.go

16 lines
199 B
Go
Raw Normal View History

2014-05-16 06:36:18 +04:00
package ledis
import (
"testing"
)
func TestDBKV(t *testing.T) {
db := getTestDB()
key := []byte("testdb_kv_a")
if err := db.Set(key, []byte("hello world")); err != nil {
t.Fatal(err)
}
}