aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lang/array_spec.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-08-20 12:13:45 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-02 14:24:49 +0000
commit2fe2873a4efa6501b3cb5bbd69497d630850da28 (patch)
tree8819548e69f211a4a19dd2921e3d6180fe727ca2 /spec/lang/array_spec.moon
parentimplement (set) as per spec (diff)
downloadalive-2fe2873a4efa6501b3cb5bbd69497d630850da28.tar.gz
alive-2fe2873a4efa6501b3cb5bbd69497d630850da28.zip
dirty (insert) implementation
Diffstat (limited to 'spec/lang/array_spec.moon')
-rw-r--r--spec/lang/array_spec.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lang/array_spec.moon b/spec/lang/array_spec.moon
index 25c0167..2dd2894 100644
--- a/spec/lang/array_spec.moon
+++ b/spec/lang/array_spec.moon
@@ -83,7 +83,7 @@ describe "array", ->
assert.is.true rt\is_const!
assert.is.equal svec3\mk_const({ 'a', 'b', 'c' }), rt.result
- rt = COPILOT\eval_once '(insert (array "a" "b") 1 "c")'
+ rt = COPILOT\eval_once '(insert (array "a" "b") 2 "c")'
assert.is.true rt\is_const!
assert.is.equal svec3\mk_const({ 'a', 'b', 'c' }), rt.result