Skip to content

Commit

Permalink
test: fix isDate tests
Browse files Browse the repository at this point in the history
Ref #10
  • Loading branch information
char0n committed Mar 12, 2017
1 parent 5fbd348 commit 5af792c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/isDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ describe('isDate', function() {
eq(RA.isDate(Object(0)), false);
eq(RA.isDate(/x/), false);
eq(RA.isDate(Object('a')), false);
eq(RA.isDate(Symbol), typeof Symbol === 'undefined');

if (Symbol !== 'undefined') {
eq(RA.isDate(Symbol), false);
}

eq(RA.isDate(null), false);
eq(RA.isDate(undefined), false);
});
Expand Down

0 comments on commit 5af792c

Please sign in to comment.