diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/stack.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/stack.nim b/tests/stack.nim index bf02299..e041a80 100644 --- a/tests/stack.nim +++ b/tests/stack.nim @@ -72,9 +72,7 @@ suite "Stack": test "Duplicate": var empty = NewStack() empty[].Duplicate() - check empty.height == 2 - check empty.data[0] == 0 - check empty.data[1] == 0 + check empty[].Pop() == 0 var some = NewStack() some[].Push(2) some[].Push(-4) |