Navigation Menu

Skip to content

Commit

Permalink
Don't write fixed number as the expected length
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 2, 2012
1 parent 60d7909 commit 5d84cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/database-domain.test.js
Expand Up @@ -226,7 +226,7 @@ suite('database', function() {
assert.deepEqual({ idLength: domain.id.length,
normalizedId: domain.id.replace(/[1-9a-z]/g, '0'),
exists: domain.exists() },
{ idLength: 26,
{ idLength: Domain.DEFAULT_ID.length,
normalizedId: Domain.DEFAULT_ID,
exists: false });
});
Expand Down

0 comments on commit 5d84cfa

Please sign in to comment.