Skip to content

Commit 9f21b6b

Browse files
committed
tests: fix namehash matcher
1 parent ec1b958 commit 9f21b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tests/src.ts/test-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ describe('Test Namehash', function() {
294294
const namehash = ethers.utils.namehash(name);
295295
console.log(name, namehash);
296296
}, (error: Error) => {
297-
return !!error.message.match(/invalid ENS address/);
297+
return !!error.message.match(/invalid ENS name; empty component/);
298298
});
299299
});
300300
});

0 commit comments

Comments
 (0)