Skip to content

Commit

Permalink
Remove lambda test that checks for old lambda AST node.
Browse files Browse the repository at this point in the history
  • Loading branch information
maryrosecook committed Jul 10, 2013
1 parent 3dc2890 commit 960edc4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tinylisp.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ describe('tinyLisp', function() {
});

describe('lambdas', function() {
it('should take lambda and return lambda node', function() {
var l = t.interpret(t.parse("(lambda () (rest (1 2)))"));
expect(l.type).toEqual("invocation");
expect(typeof l.value).toEqual("function");
});

it('should return correct result when invoke lambda w no params', function() {
expect(t.interpret(t.parse("((lambda () (rest (1 2))))"))).toEqual([2]);
});
Expand Down

0 comments on commit 960edc4

Please sign in to comment.