summaryrefslogtreecommitdiff
path: root/cli/tests/integration
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2022-06-14 19:25:58 -0400
committerColin Ihrig <cjihrig@gmail.com>2022-06-15 09:52:28 -0400
commitb2109a12aa84b5006616a3e82cb26acf53c23e81 (patch)
treef454d0db7fe18edeb8ac91e39cc3afd78f91292a /cli/tests/integration
parenteadf943e594a5ebf95ddf7e007cfb7d2dcff130e (diff)
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
Diffstat (limited to 'cli/tests/integration')
-rw-r--r--cli/tests/integration/run_tests.rs5
1 files changed, 5 insertions, 0 deletions
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",
+});