diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-03-07 20:58:30 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-03-07 20:58:51 +0000 |
| commit | 6a7a2ddaca798f3cccac394d1fb9f317cbe90de6 (patch) | |
| tree | 4e49e53057b39f75813311ede13f87d238061fe6 /spec/core/cell_spec.moon | |
| parent | spellcheck (diff) | |
| download | alive-6a7a2ddaca798f3cccac394d1fb9f317cbe90de6.tar.gz alive-6a7a2ddaca798f3cccac394d1fb9f317cbe90de6.zip | |
add ldoc documentation
Diffstat (limited to 'spec/core/cell_spec.moon')
| -rw-r--r-- | spec/core/cell_spec.moon | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/core/cell_spec.moon b/spec/core/cell_spec.moon index 78861ab..8b6d68b 100644 --- a/spec/core/cell_spec.moon +++ b/spec/core/cell_spec.moon @@ -1,4 +1,5 @@ -import Cell, RootCell, Value, Scope, Registry, globals from require 'core' +import Cell, RootCell from require 'core.cell' +import Value, Scope, Registry, globals from require 'core' import Logger from require 'logger' Logger.init 'silent' @@ -20,14 +21,14 @@ describe 'Cell', -> describe 'RootCell', -> test 'head is always "do"', -> - cell = RootCell\parse {} + cell = Cell\parse_root {} assert.is.equal (Value.sym 'do'), cell\head! cell = RootCell nil, { hello_world, two_plus_two } assert.is.equal (Value.sym 'do'), cell\head! test 'tail is all children', -> - cell = RootCell\parse {} + cell = Cell\parse_root {} assert.is.same {}, cell\tail! cell = RootCell nil, { hello_world, two_plus_two } |
