Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

v0.0.4

  • Loading branch information...
commit 73631d4c53326c81006634b1667eb2634219f3e8 1 parent 915e08f
@f-kubotar authored
Showing with 5 additions and 1 deletion.
  1. +1 −1  package.json
  2. +4 −0 test/parse.test.js
View
2  package.json
@@ -1,6 +1,6 @@
{
"name": "sexpression",
- "version": "0.0.3",
+ "version": "0.0.4",
"description": "s-expression parser",
"main": "index.js",
"scripts": {
View
4 test/parse.test.js
@@ -184,6 +184,10 @@ describe('parse()', function() {
it('should be nested 1 length list', function() {
expect(parse('((1))')).to.eql([[1]]);
+ expect(parse('((a))')).to.eql([[{ name: 'a' }]]);
+
+ expect(parse('(((((1)))))')).to.eql([[[[[1]]]]]);
+ expect(parse('(((((a)))))')).to.eql([[[[[{ name: 'a' }]]]]]);
});
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.