mirror of
https://github.com/denoland/deno.git
synced 2025-03-04 01:44:26 -05:00
review comment 2
This commit is contained in:
parent
94ce114d30
commit
498e6e9994
1 changed files with 1 additions and 2 deletions
3
tests/testdata/test/fail_color.ts
vendored
3
tests/testdata/test/fail_color.ts
vendored
|
@ -2,8 +2,7 @@ Deno.test("fail color", () => {
|
||||||
throw new Error(`RedMessage: \x1b[31mThis should be red text\x1b[39m`);
|
throw new Error(`RedMessage: \x1b[31mThis should be red text\x1b[39m`);
|
||||||
});
|
});
|
||||||
|
|
||||||
// deno-lint-ignore no-explicit-any
|
Deno.test("step fail color", async (t) => {
|
||||||
Deno.test("step fail color", async (t: any) => {
|
|
||||||
await t.step("step", () => {
|
await t.step("step", () => {
|
||||||
throw new Error(`RedMessage: \x1b[31mThis should be red text\x1b[39m`);
|
throw new Error(`RedMessage: \x1b[31mThis should be red text\x1b[39m`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue