summaryrefslogtreecommitdiff
path: root/std/testing/asserts_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/testing/asserts_test.ts')
-rw-r--r--std/testing/asserts_test.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/std/testing/asserts_test.ts b/std/testing/asserts_test.ts
index f8a600d77..4840bcf53 100644
--- a/std/testing/asserts_test.ts
+++ b/std/testing/asserts_test.ts
@@ -336,8 +336,10 @@ const createHeader = (): string[] => [
"",
];
-const added: (s: string) => string = (s: string): string => green(bold(s));
-const removed: (s: string) => string = (s: string): string => red(bold(s));
+const added: (s: string) => string = (s: string): string =>
+ green(bold(stripColor(s)));
+const removed: (s: string) => string = (s: string): string =>
+ red(bold(stripColor(s)));
Deno.test({
name: "pass case",