Skip to content

Commit 9a53882

Browse files
committed
Fix benchmark
1 parent ce472e9 commit 9a53882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lazycache_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ func BenchmarkGetOrCreateAndGet(b *testing.B) {
284284
b.Fatal(err)
285285
}
286286

287-
if v := res2; !found || v != i2 {
287+
if v := res2; v != i2 {
288288
b.Fatalf("got %v, want %v", v, i2)
289289
}
290290
}

0 commit comments

Comments
 (0)