Navigation Menu

Skip to content

Commit

Permalink
Update normalized version of the generated id
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 2, 2012
1 parent e0a0789 commit e722a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/database-domain.test.js
Expand Up @@ -223,7 +223,7 @@ suite('database', function() {
domain = new Domain('unknown', context);
assert.equal(typeof domain.id, 'string');
assert.deepEqual({ length: domain.id.length,
normalized: domain.id.replace(/[0-9][a-z]/g, '0') },
normalized: domain.id.replace(/[1-9a-z]/g, '0') },
{ length: 26,
normalized: Domain.DEFAULT_ID });
});
Expand Down

0 comments on commit e722a27

Please sign in to comment.