summaryrefslogtreecommitdiff
path: root/tests/specs/future
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/future')
-rw-r--r--tests/specs/future/import_assertions/__test__.jsonc26
-rw-r--r--tests/specs/future/import_assertions/success.out7
2 files changed, 3 insertions, 30 deletions
diff --git a/tests/specs/future/import_assertions/__test__.jsonc b/tests/specs/future/import_assertions/__test__.jsonc
index 1c55d2220..b7356d924 100644
--- a/tests/specs/future/import_assertions/__test__.jsonc
+++ b/tests/specs/future/import_assertions/__test__.jsonc
@@ -1,25 +1,5 @@
{
- "steps": [
- {
- "args": "run main.js",
- "output": "error.out",
- "exitCode": 1,
- "envs": {
- "DENO_FUTURE": "1"
- }
- },
- // Running the same multiple times, should warn each time.
- {
- "args": "run main.js",
- "output": "error.out",
- "exitCode": 1,
- "envs": {
- "DENO_FUTURE": "1"
- }
- },
- {
- "args": "run main.js",
- "output": "success.out"
- }
- ]
+ "args": "run main.js",
+ "output": "error.out",
+ "exitCode": 1
}
diff --git a/tests/specs/future/import_assertions/success.out b/tests/specs/future/import_assertions/success.out
deleted file mode 100644
index fcf28b943..000000000
--- a/tests/specs/future/import_assertions/success.out
+++ /dev/null
@@ -1,7 +0,0 @@
-⚠️ Import assertions are deprecated. Use `with` keyword, instead of 'assert' keyword.
-
-import foo from "./main.json" assert { type: "json" };
-
- at [WILDCARD]import_assertions/main.js:1:30
-
-{ foo: "foo" }