aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2025-03-14 21:36:23 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-14 21:36:23 +0000
commit491804dc42dcdc84b8eea52d435c6648f0fb274c (patch)
tree37e63568d66bdd1146de4240cd5285e26c0e16c7 /spec
parentsupport fractions as number literals (diff)
downloadalive-491804dc42dcdc84b8eea52d435c6648f0fb274c.tar.gz
alive-491804dc42dcdc84b8eea52d435c6648f0fb274c.zip
somewhat clean up alv.parsing
Diffstat (limited to 'spec')
-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 a8e79fe..bd97e63 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 = Cell.parse_root {}
+ cell = RootCell.parse {}
assert.is.equal '[0]', cell.tag\stringify!
test 'head is always "do"', ->
- cell = Cell.parse_root {}
+ 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 = Cell.parse_root {}
+ cell = RootCell.parse {}
assert.is.same {}, cell\tail!
cell = RootCell nil, { hello_world, two_plus_two }