diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/testdata/run/warn_on_deprecated_api/main.out | 87 |
1 files changed, 35 insertions, 52 deletions
diff --git a/cli/tests/testdata/run/warn_on_deprecated_api/main.out b/cli/tests/testdata/run/warn_on_deprecated_api/main.out index 984dbc291..c0944b3df 100644 --- a/cli/tests/testdata/run/warn_on_deprecated_api/main.out +++ b/cli/tests/testdata/run/warn_on_deprecated_api/main.out @@ -1,49 +1,37 @@ Download http://localhost:4545/run/warn_on_deprecated_api/mod.ts -Warning -├ Use of deprecated "Deno.run()" API. -│ -├ This API will be removed in Deno 2.0. Make sure to upgrade to a stable API before then. -│ -├ Suggestion: Use "Deno.Command()" API instead. -│ -└ Stack trace: - └─ at [WILDCARD]warn_on_deprecated_api/main.js:3:16 +warning: Use of deprecated "Deno.run()" API. This API will be removed in Deno 2. + +Stack trace: + at [WILDCARD]warn_on_deprecated_api/main.js:3:16 + +hint: Use "Deno.Command()" API instead. hello world -Warning -├ Use of deprecated "Deno.run()" API. -│ -├ This API will be removed in Deno 2.0. Make sure to upgrade to a stable API before then. -│ -├ Suggestion: Use "Deno.Command()" API instead. -│ -└ Stack trace: - ├─ at runEcho ([WILDCARD]warn_on_deprecated_api/main.js:14:18) - └─ at [WILDCARD]warn_on_deprecated_api/main.js:25:7 +warning: Use of deprecated "Deno.run()" API. This API will be removed in Deno 2. + +Stack trace: + at runEcho ([WILDCARD]warn_on_deprecated_api/main.js:14:18) + at [WILDCARD]warn_on_deprecated_api/main.js:25:7 + +hint: Use "Deno.Command()" API instead. hello world -Warning -├ Use of deprecated "Deno.run()" API. -│ -├ This API will be removed in Deno 2.0. Make sure to upgrade to a stable API before then. -│ -├ Suggestion: Use "Deno.Command()" API instead. -│ -└ Stack trace: - ├─ at runEcho ([WILDCARD]warn_on_deprecated_api/main.js:14:18) - └─ at [WILDCARD]warn_on_deprecated_api/main.js:26:7 +warning: Use of deprecated "Deno.run()" API. This API will be removed in Deno 2. + +Stack trace: + at runEcho ([WILDCARD]warn_on_deprecated_api/main.js:14:18) + at [WILDCARD]warn_on_deprecated_api/main.js:26:7 + +hint: Use "Deno.Command()" API instead. hello world -Warning -├ Use of deprecated "Deno.run()" API. -│ -├ This API will be removed in Deno 2.0. Make sure to upgrade to a stable API before then. -│ -├ Suggestion: Use "Deno.Command()" API instead. -│ -└ Stack trace: - ├─ at runEcho ([WILDCARD]warn_on_deprecated_api/main.js:14:18) - └─ at [WILDCARD]warn_on_deprecated_api/main.js:29:9 +warning: Use of deprecated "Deno.run()" API. This API will be removed in Deno 2. + +Stack trace: + at runEcho ([WILDCARD]warn_on_deprecated_api/main.js:14:18) + at [WILDCARD]warn_on_deprecated_api/main.js:29:9 + +hint: Use "Deno.Command()" API instead. hello world hello world @@ -55,18 +43,13 @@ hello world hello world hello world hello world -Warning -├ Use of deprecated "Deno.run()" API. -│ -├ This API will be removed in Deno 2.0. Make sure to upgrade to a stable API before then. -│ -├ Suggestion: Use "Deno.Command()" API instead. -│ -├ Suggestion: It appears this API is used by a remote dependency. -│ Try upgrading to the latest version of that dependency. -│ -└ Stack trace: - ├─ at runEcho (http://localhost:4545/run/warn_on_deprecated_api/mod.ts:2:18) - └─ at [WILDCARD]warn_on_deprecated_api/main.js:32:7 +warning: Use of deprecated "Deno.run()" API. This API will be removed in Deno 2. + +Stack trace: + at runEcho (http://localhost:4545/run/warn_on_deprecated_api/mod.ts:2:18) + at [WILDCARD]warn_on_deprecated_api/main.js:32:7 + +hint: Use "Deno.Command()" API instead. +hint: It appears this API is used by a remote dependency. Try upgrading to the latest version of that dependency. hello world |