diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-09-18 21:28:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 09:28:30 -0400 |
commit | 38196f7850d7498e98f5ec7c66801deadabe09cf (patch) | |
tree | 268759120f366d4ce0ef38b441c81e51fd6037dc /std/node | |
parent | 7845740637eb646c0b13dc541f043fd65136fc03 (diff) |
fix(cli/console): always quote and escape inspected strings (#7546)
Diffstat (limited to 'std/node')
-rw-r--r-- | std/node/assertion_error_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/assertion_error_test.ts b/std/node/assertion_error_test.ts index b0457fe5f..5157ea3b3 100644 --- a/std/node/assertion_error_test.ts +++ b/std/node/assertion_error_test.ts @@ -108,7 +108,7 @@ Deno.test({ stackStartFn, }); assertStrictEquals(err.name, "AssertionError"); - assertStrictEquals(stripColor(err.message), "deno match /node/"); + assertStrictEquals(stripColor(err.message), `"deno" match /node/`); assertStrictEquals(err.generatedMessage, true); assertStrictEquals(err.code, "ERR_ASSERTION"); assertStrictEquals(err.actual, "deno"); |