From 48ede89f1f192df28cc74822d7bb79b0b4bd0957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 13 Mar 2023 21:12:09 -0400 Subject: refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) This commit changes current "deno_core::resolve_url_or_path" API to "resolve_url_or_path_deprecated" and adds new "resolve_url_or_path" API that requires to explicitly pass the directory from which paths should be resolved to. Some of the call sites were updated to use the new API, the reminder of them will be updated in a follow up PR. Towards landing https://github.com/denoland/deno/pull/15454 --- cli/tests/unit/process_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/unit/process_test.ts') diff --git a/cli/tests/unit/process_test.ts b/cli/tests/unit/process_test.ts index e79365a6d..1799a0190 100644 --- a/cli/tests/unit/process_test.ts +++ b/cli/tests/unit/process_test.ts @@ -658,6 +658,6 @@ Deno.test( p.close(); p.stdout.close(); assertStrictEquals(code, 1); - assertStringIncludes(stderr, "Unable to get CWD"); + assertStringIncludes(stderr, "No such file or directory"); }, ); -- cgit v1.2.3