Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

another test

  • Loading branch information...
commit 5c825a710662cab0b8abb37132cae19d0dcf00cb 1 parent 1337250
@substack authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 test/falsy.js
View
9 test/falsy.js
@@ -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);
+});
Please sign in to comment.
Something went wrong with that request. Please try again.