Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Jan 25, 2013
1 parent 1337250 commit 5c825a7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/falsy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
var test = require('tape');
var defined = require('../');

test(function (t) {
t.plan(1);
var opts = { y : false, w : 4 };
var x = defined(opts.x, opts.y, opts.w, 8);
t.equal(x, false);
});

0 comments on commit 5c825a7

Please sign in to comment.