summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/resolve_dns.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/run/resolve_dns.ts')
-rw-r--r--cli/tests/testdata/run/resolve_dns.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/run/resolve_dns.ts b/cli/tests/testdata/run/resolve_dns.ts
index bde479c9a..ae6ed70a4 100644
--- a/cli/tests/testdata/run/resolve_dns.ts
+++ b/cli/tests/testdata/run/resolve_dns.ts
@@ -62,3 +62,10 @@ try {
} thrown for not-found-example.com`,
);
}
+
+try {
+ // @ts-ignore testing invalid overloads
+ await Deno.resolveDns("example.com", "SSHFP", nameServer);
+} catch (e) {
+ console.log(e.message);
+}