Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Feb 7, 2016
1 parent 575aefe commit 6f90fdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/commafy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var test = require('tape');
var commafy = require('../commafy');

test('commafy', function (t) {
t.plan(22);
t.plan(23);

t.equal(commafy(), undefined);
t.equal(commafy(null), null);
Expand All @@ -27,4 +27,5 @@ test('commafy', function (t) {
t.equal(commafy(14734534.53), '14,734,534.53');
t.equal(commafy((10200.50).toFixed(3)), '10,200.500');
t.equal(commafy(1e4), '10,000');
t.equal(commafy(1e6), '1,000,000');
});

0 comments on commit 6f90fdb

Please sign in to comment.