mirror of
https://github.com/denoland/deno.git
synced 2025-07-30 08:34:35 +00:00
fix: improve formatting (#1732)
This commit is contained in:
parent
90c7af27d7
commit
d26655371b
17 changed files with 55 additions and 30 deletions
|
@ -245,8 +245,11 @@ test(function consoleTestError() {
|
|||
try {
|
||||
throw new MyError("This is an error");
|
||||
} catch (e) {
|
||||
assert(stringify(e).split("\n")[3]
|
||||
.includes("MyError: This is an error"));
|
||||
assert(
|
||||
stringify(e)
|
||||
.split("\n")[3]
|
||||
.includes("MyError: This is an error")
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue