Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Nov 8, 2015
1 parent ae6d45e commit c26f04c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/uuid.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ describe('ShortUUID#uuid()', () => {
})

it('should generate with uuid v4', () => {
assert.ok(su.uuid().length > 0)
})

it('should generate with uuid v5 and dns namespace', () => {
assert.ok(su.uuid('example.com') === 'wpsWLdLt9nscn2jbTD3uxe')
})

Expand Down

0 comments on commit c26f04c

Please sign in to comment.