mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
Update gqueue_unit_test.go
This commit is contained in:
@ -21,6 +21,8 @@ func TestQueue_Pop(t *testing.T) {
|
||||
q1 := gqueue.New()
|
||||
q1.Push(1)
|
||||
q1.Push(2)
|
||||
q1.Push(3)
|
||||
q1.Push(4)
|
||||
i1 := q1.Pop()
|
||||
gtest.Assert(i1, 1)
|
||||
q1.Close()
|
||||
|
||||
Reference in New Issue
Block a user