Permalink
Browse files

pending spec: lambda should always return its last argument

  • Loading branch information...
smtlaissezfaire committed Feb 25, 2013
1 parent ec9524a commit c159b17e4da7a7cdbbd560c14c0c107e47351a02
Showing with 13 additions and 0 deletions.
  1. +13 −0 test/stdlib/let-spec.js
View
@@ -28,4 +28,17 @@ describe("built in let", function() {
assert.equal(loop.compile(code), expected);
});
+
+ it.pending('should always return the last value', function() {
+ var code = '';
+ code += '(let ()';
+ code += ' (console.log (+ x y)))';
+
+ var expected = '';
+ expected += '(function(){';
+ expected += 'console.log(x+y)';
+ expected += '})()';
+
+ assert.equal(loop.compile(code), expected);
+ });
});

0 comments on commit c159b17

Please sign in to comment.