fixing tests
This commit is contained in:
parent
70e6cfddc5
commit
7c3982fe3d
16 changed files with 31 additions and 30 deletions
|
|
@ -132,7 +132,7 @@ func TestBufferArray(t *testing.T) {
|
|||
buffer.Enqueue(5)
|
||||
|
||||
contents := buffer.Array()
|
||||
assert.Len(contents, 5)
|
||||
assert.Len(5, contents)
|
||||
assert.Equal(1, contents[0])
|
||||
assert.Equal(2, contents[1])
|
||||
assert.Equal(3, contents[2])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue