update mutex test2

This commit is contained in:
zhangbiao
2019-06-14 10:28:24 +08:00
parent 1f19ed71aa
commit 3e2d5e0bdb

View File

@ -14,7 +14,7 @@ import (
"time"
)
func TestMutex(t *testing.T) {
func TestMutexIsSafe(t *testing.T) {
gtest.Case(t, func() {
lock := mutex.New()
gtest.Assert(lock.IsSafe(), true)