summaryrefslogtreecommitdiff
path: root/cli/tests/unit/headers_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/headers_test.ts')
-rw-r--r--cli/tests/unit/headers_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/headers_test.ts b/cli/tests/unit/headers_test.ts
index 8fbf1d4e4..2156fb56b 100644
--- a/cli/tests/unit/headers_test.ts
+++ b/cli/tests/unit/headers_test.ts
@@ -6,7 +6,7 @@ import {
assertStringContains,
} from "./test_util.ts";
const {
- stringifyArgs,
+ inspectArgs,
// @ts-expect-error TypeScript (as of 3.7) does not support indexing namespaces by symbol
} = Deno[Deno.internal];
@@ -402,7 +402,7 @@ unitTest(function toStringShouldBeWebCompatibility(): void {
});
function stringify(...args: unknown[]): string {
- return stringifyArgs(args).replace(/\n$/, "");
+ return inspectArgs(args).replace(/\n$/, "");
}
unitTest(function customInspectReturnsCorrectHeadersFormat(): void {