mirror of
https://gitee.com/johng/gf.git
synced 2024-11-29 18:57:44 +08:00
fix issue in UT cases for package gring
This commit is contained in:
parent
6d09328d6d
commit
fa39b9ee54
@ -8,6 +8,7 @@ package gring_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/gogf/gf/v2/container/gring"
|
||||
)
|
||||
|
||||
@ -209,10 +210,10 @@ func ExampleRing_Unlink() {
|
||||
// Before Unlink, Cap: 10
|
||||
// Before Unlink, [0 9 8 7 6 5 4 3 2 1]
|
||||
// Before Unlink, [0 1 2 3 4 5 6 7 8 9]
|
||||
// After Unlink, Len: 7
|
||||
// After Unlink, Cap: 7
|
||||
// After Unlink, [1 7 6 5 4 3 2]
|
||||
// After Unlink, [1 2 3 4 5 6 7]
|
||||
// After Unlink, Len: 3
|
||||
// After Unlink, Cap: 3
|
||||
// After Unlink, [0 9 8]
|
||||
// After Unlink, [0 8 9]
|
||||
}
|
||||
|
||||
func ExampleRing_RLockIteratorNext() {
|
||||
|
Loading…
Reference in New Issue
Block a user