Skip to content

Commit

Permalink
Update compiler/test/stdlib/array.test.gr
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored Jun 13, 2021
1 parent 7dfd826 commit 1298bb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/test/stdlib/array.test.gr
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ let testChars = [> 'a', 'b', 'c']

assert Array.slice(0, 1, testChars) == [> 'a']
assert Array.slice(1, Array.length(testChars), testChars) == [> 'b', 'c']
assert Array.slice(0, 0, testChars) == [>]
// Purposefully huge number
assert Array.slice(1, 10000, testChars) == [> 'b', 'c']
// Negative indexing
Expand Down

0 comments on commit 1298bb7

Please sign in to comment.