Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Nov 8, 2012
1 parent 6941693 commit 9bd2551
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/typechecks.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ describe("argsOf(fun)", function() {
it("should return an array of the expected arguments of function fun or false", function() {
argsOf(function test(a, b, c) {}).should.eql(["a", "b", "c"]);
argsOf(function (a, b, c) {}).should.eql(["a", "b", "c"]);
});
it("should return an empty array when the function fun doesn't expect any arguments", function() {
argsOf(function test() { return 0; }).should.eql([]);
argsOf(function() {}).should.eql([]);
Expand Down

0 comments on commit 9bd2551

Please sign in to comment.