Skip to content

Commit

Permalink
Update test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenway committed Oct 21, 2015
1 parent 21d2596 commit b394f63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ var test = require('tape');
test('converts', function (t) {

t.deepEqual(hexToRgb('000000'), [0,0,0], 'black converted');
t.deepEqual(hexToRgb('000'), [0,0,0], 'black shorthand converted');
t.deepEqual(hexToRgb('#ffffff'), [255,255,255], 'white converted with hash');
t.deepEqual(hexToRgb('#fff'), [255,255,255], 'white shorthand converted with hash');
t.end();
});
});

0 comments on commit b394f63

Please sign in to comment.