test: change Conn test with NotNil

This commit is contained in:
Geun-Oh
2024-03-22 10:12:12 +09:00
parent 01d6a9481e
commit 1c65d386dd

View File

@@ -71,7 +71,7 @@ func Test_CloudflareKV_Close(t *testing.T) {
} }
func Test_CloudflareKV_Conn(t *testing.T) { func Test_CloudflareKV_Conn(t *testing.T) {
require.True(t, testStore.Conn() != nil) require.NotNil(t, testStore.Conn())
} }
func Benchmark_CloudflareKV_Set(b *testing.B) { func Benchmark_CloudflareKV_Set(b *testing.B) {