summaryrefslogtreecommitdiff
path: root/tests/testdata/run/070_location.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/070_location.ts')
-rw-r--r--tests/testdata/run/070_location.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/testdata/run/070_location.ts b/tests/testdata/run/070_location.ts
deleted file mode 100644
index 05e5abdf1..000000000
--- a/tests/testdata/run/070_location.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-// deno-lint-ignore-file no-global-assign
-console.log(Location);
-console.log(Location.prototype);
-console.log(location);
-try {
- location = {};
-} catch (error) {
- if (error instanceof Error) {
- console.log(error.toString());
- }
-}
-try {
- location.hostname = "bar";
-} catch (error) {
- if (error instanceof Error) {
- console.log(error.toString());
- }
-}