aboutsummaryrefslogtreecommitdiffstats
path: root/spec/internal
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2025-03-18 11:47:22 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-18 12:06:18 +0000
commitb6cbc69461dc054019f50f8971704f6ef9de63ab (patch)
treed2b8942b780f668ccbe57b52dd8d65f61613e935 /spec/internal
parentbuiltins: switch takes single array as value (diff)
downloadalive-wip.tar.gz
alive-wip.zip
language: [array] and {struct} literalswip
Diffstat (limited to 'spec/internal')
-rw-r--r--spec/internal/cell_spec.moon6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/internal/cell_spec.moon b/spec/internal/cell_spec.moon
index bd97e63..c9ccb39 100644
--- a/spec/internal/cell_spec.moon
+++ b/spec/internal/cell_spec.moon
@@ -39,18 +39,18 @@ describe 'Cell', ->
describe 'RootCell', ->
test 'tag is always [0]', ->
- cell = RootCell.parse {}
+ cell = RootCell\parse {}
assert.is.equal '[0]', cell.tag\stringify!
test 'head is always "do"', ->
- cell = RootCell.parse {}
+ cell = RootCell\parse {}
assert.is.equal (Constant.sym 'do'), cell\head!
cell = RootCell nil, { hello_world, two_plus_two }
assert.is.equal (Constant.sym 'do'), cell\head!
test 'tail is all children', ->
- cell = RootCell.parse {}
+ cell = RootCell\parse {}
assert.is.same {}, cell\tail!
cell = RootCell nil, { hello_world, two_plus_two }