From 72f6dacd22a686cdf7fcd60286503e3aceda77ba Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Thu, 12 Jan 2017 22:32:20 -0500 Subject: [PATCH] fix tests --- c_level_db_test.go | 2 +- go_level_db_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c_level_db_test.go b/c_level_db_test.go index 3baa8ba4c..b90161498 100644 --- a/c_level_db_test.go +++ b/c_level_db_test.go @@ -18,7 +18,7 @@ func BenchmarkRandomReadsWrites2(b *testing.B) { for i := 0; i < int(numItems); i++ { internal[int64(i)] = int64(0) } - db, err := NewGoLevelDB(Fmt("test_%x", RandStr(12)), "") + db, err := NewCLevelDB(Fmt("test_%x", RandStr(12)), "") if err != nil { b.Fatal(err.Error()) return diff --git a/go_level_db_test.go b/go_level_db_test.go index b5dad1163..24b64734d 100644 --- a/go_level_db_test.go +++ b/go_level_db_test.go @@ -17,7 +17,7 @@ func BenchmarkRandomReadsWrites(b *testing.B) { for i := 0; i < int(numItems); i++ { internal[int64(i)] = int64(0) } - db, err := NewCLevelDB(Fmt("test_%x", RandStr(12)), "") + db, err := NewGoLevelDB(Fmt("test_%x", RandStr(12)), "") if err != nil { b.Fatal(err.Error()) return