Changed filenames of namehash test cases.

This commit is contained in:
ricmoo 2017-05-08 16:14:55 -04:00
parent 9e80c55275
commit 00b628c6cc
2 changed files with 2 additions and 2 deletions

@ -41,5 +41,5 @@ for i in xrange(0, len(Tests)):
else:
test['expected'] = hash
with file('../tests/ens.json', 'w') as f:
with file('../tests/namehash.json', 'w') as f:
f.write(json.dumps(Tests))

@ -93,7 +93,7 @@ function testUnits(test) {
function testNamehash(test) {
var namehash = require('../utils/namehash');
var testcases = require('./tests/ens.json');
var testcases = require('./tests/namehash.json');
testcases.forEach(function(testcase) {
test.equal(namehash(testcase.name), testcase.expected, 'namehash(' + testcase.name + ')');
});