From b2109a12aa84b5006616a3e82cb26acf53c23e81 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Tue, 14 Jun 2022 19:25:58 -0400 Subject: fix(url): properly indent when inspecting URLs (#14867) This commit updates the custom inspect function for URL objects to pass the inspect options through so that the context is propagated and the resulting indentation is correct. Fixes: https://github.com/denoland/deno/issues/14171 --- cli/tests/integration/run_tests.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli/tests/integration') diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index aed1fe0fe..2ba22d748 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -2704,3 +2704,8 @@ itest!(error_name_non_string { output: "error_name_non_string.js.out", exit_code: 1, }); + +itest!(custom_inspect_url { + args: "run custom_inspect_url.js", + output: "custom_inspect_url.js.out", +}); -- cgit v1.2.3