mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
update mutex test2
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user