From 00b628c6cc3796bccd4d28e2b94c77b650112a2f Mon Sep 17 00:00:00 2001 From: ricmoo Date: Mon, 8 May 2017 16:14:55 -0400 Subject: [PATCH] Changed filenames of namehash test cases. --- tests/make-tests/make-namehash.py | 2 +- tests/run-utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/make-tests/make-namehash.py b/tests/make-tests/make-namehash.py index ef4a55dd6..c49a58934 100644 --- a/tests/make-tests/make-namehash.py +++ b/tests/make-tests/make-namehash.py @@ -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)) diff --git a/tests/run-utils.js b/tests/run-utils.js index 15743a0b9..ab6a15015 100644 --- a/tests/run-utils.js +++ b/tests/run-utils.js @@ -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 + ')'); });