summaryrefslogtreecommitdiff
path: root/std/testing
diff options
context:
space:
mode:
Diffstat (limited to 'std/testing')
-rw-r--r--std/testing/asserts.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/testing/asserts.ts b/std/testing/asserts.ts
index 05bb995ab..889a622fd 100644
--- a/std/testing/asserts.ts
+++ b/std/testing/asserts.ts
@@ -21,13 +21,13 @@ export class AssertionError extends Error {
export function _format(v: unknown): string {
return globalThis.Deno
- ? stripColor(Deno.inspect(v, {
+ ? Deno.inspect(v, {
depth: Infinity,
sorted: true,
trailingComma: true,
compact: false,
iterableLimit: Infinity,
- }))
+ })
: `"${String(v).replace(/(?=["\\])/g, "\\")}"`;
}