summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-26 11:06:05 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-26 11:06:05 -0800
commitfe0bcf756016bd8cad54c1af77f054b94fc8d11b (patch)
tree550cd7812212cbcbabba3cef5980cbdc73662e1f /test
parent74b3aaed1a5a978a4d64ae4bdce9b0cdcf82860c (diff)
downloadmc-fe0bcf756016bd8cad54c1af77f054b94fc8d11b.tar.gz
Remove the '$' shorthand for end of array.
Diffstat (limited to 'test')
-rw-r--r--test/idxlen.myr7
-rw-r--r--test/tests1
2 files changed, 0 insertions, 8 deletions
diff --git a/test/idxlen.myr b/test/idxlen.myr
deleted file mode 100644
index 842a2a2..0000000
--- a/test/idxlen.myr
+++ /dev/null
@@ -1,7 +0,0 @@
-use std
-
-const main = {
- var a = [1,2,3,4]
- std.put("{} ", a[$-1])
- std.put("{}\n", a[$-2:])
-}
diff --git a/test/tests b/test/tests
index 6222c6a..d7c10d9 100644
--- a/test/tests
+++ b/test/tests
@@ -60,7 +60,6 @@ B voidassign P ok
B callbig E 42
B nestfn E 42
B foldidx P 123,456
-B idxlen P '4 [3, 4]'
B closure P 111555333666
B fncast P ok
B loop P 0123401236789