Permalink
Browse files

v0.0.4

  • Loading branch information...
hadashiA committed Nov 24, 2012
1 parent 915e08f commit 73631d4c53326c81006634b1667eb2634219f3e8
Showing with 5 additions and 1 deletion.
  1. +1 −1 package.json
  2. +4 −0 test/parse.test.js
View
@@ -1,6 +1,6 @@
{
"name": "sexpression",
- "version": "0.0.3",
+ "version": "0.0.4",
"description": "s-expression parser",
"main": "index.js",
"scripts": {
View
@@ -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' }]]]]]);
});
});
});

0 comments on commit 73631d4

Please sign in to comment.