Skip to content

Commit

Permalink
tests: fix namehash matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Aug 18, 2022
1 parent ec1b958 commit 9f21b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tests/src.ts/test-utils.ts
Expand Up @@ -294,7 +294,7 @@ describe('Test Namehash', function() {
const namehash = ethers.utils.namehash(name);
console.log(name, namehash);
}, (error: Error) => {
return !!error.message.match(/invalid ENS address/);
return !!error.message.match(/invalid ENS name; empty component/);
});
});
});
Expand Down

0 comments on commit 9f21b6b

Please sign in to comment.