Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Nov 27, 2014
1 parent c350d6e commit c19d8a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ suite('namer', function () {
assert.equal(names[0].distance, 0)
})

test('defaults to HTML color candidates', function() {
test('defaults to basic color candidates', function() {
var names = namer('0000FF')
assert.equal(names.length, 21)
})
Expand Down Expand Up @@ -61,7 +61,7 @@ suite('namer', function () {
assert.equal(names[0].distance, 0)
})

test('accepts non-hex input formats', function() {
test('accepts HSL input', function() {
var names = namer("hsl(50,100%,50%)")
assert.equal(names[0].name, 'gold')
})
Expand Down

0 comments on commit c19d8a7

Please sign in to comment.