Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit cbcc19c

Browse files
authored
Update tests to use eth.domains
1 parent 64c4398 commit cbcc19c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dns_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func newMockDNS() *mockDNS {
126126
"fqdn.example.com.": {
127127
"dnslink=/ipfs/QmYvMB9yrsSf7RKBghkfwmHJkzJhW2ZgVwq3LxBXXPasFr",
128128
},
129-
"www.wealdtech.eth.link.": {
129+
"www.wealdtech.eth.domains.": {
130130
"dnslink=/ipns/ipfs.example.com",
131131
},
132132
},
@@ -168,5 +168,5 @@ func TestDNSResolution(t *testing.T) {
168168
testResolution(t, r, "fqdn.example.com.", opts.DefaultDepthLimit, "/ipfs/QmYvMB9yrsSf7RKBghkfwmHJkzJhW2ZgVwq3LxBXXPasFr", nil)
169169
testResolution(t, r, "www.wealdtech.eth", 1, "/ipns/ipfs.example.com", ErrResolveRecursion)
170170
testResolution(t, r, "www.wealdtech.eth", 2, "/ipfs/QmY3hE8xgFCjGcz6PHgnvJz5HZi1BaKRfPkn1ghZUcYMjD", nil)
171-
testResolution(t, r, "www.wealdtech.eth.link", 2, "/ipfs/QmY3hE8xgFCjGcz6PHgnvJz5HZi1BaKRfPkn1ghZUcYMjD", nil)
171+
testResolution(t, r, "www.wealdtech.eth.domains", 2, "/ipfs/QmY3hE8xgFCjGcz6PHgnvJz5HZi1BaKRfPkn1ghZUcYMjD", nil)
172172
}

0 commit comments

Comments
 (0)