Skip to content

Commit ccad709

Browse files
committed
Fix DNS resolve command test
1 parent bb14953 commit ccad709

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/dnsresolve_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestInitDNSResolveCmd(t *testing.T) {
2626
}{
2727
"type": {[]string{"--type", "TXT"}, func() (interface{}, interface{}) { return dnsResolveType, "TXT" }},
2828
"dns-server": {[]string{"--dns-server", "123.234.0.1"}, func() (interface{}, interface{}) { return dnsResolveDNSServer, "123.234.0.1" }},
29-
"limit": {[]string{"--limit", "23"}, func() (interface{}, interface{}) { return dnsPerfLimit, 23 }},
29+
"limit": {[]string{"--limit", "23"}, func() (interface{}, interface{}) { return dnsResolveLimit, 23 }},
3030
}
3131
parent := &cobra.Command{}
3232
for name, tc := range testCases {

0 commit comments

Comments
 (0)