Skip to content

Commit

Permalink
Add comment to integer indexing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdwalters committed Dec 8, 2024
1 parent 0a4e704 commit 7b649ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tests/validity/array_get_index_local.ab
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// Value at 4: ""

main {
// Do not use loop; we want to test compile time arithmetic.
let array = ["zero", "one", "two", "three"]
echo "Value at -5: \"{array[-5]}\""
echo "Value at -4: \"{array[-4]}\""
Expand Down

0 comments on commit 7b649ef

Please sign in to comment.