Update gqueue_unit_test.go

This commit is contained in:
jroam
2019-06-17 11:31:03 +08:00
parent 97d2b9e1f9
commit fd4843c3a1

View File

@ -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()