diff options
Diffstat (limited to 'deno2/js/mock_runtime.js')
-rw-r--r-- | deno2/js/mock_runtime.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deno2/js/mock_runtime.js b/deno2/js/mock_runtime.js index f16161cf7..f845dae20 100644 --- a/deno2/js/mock_runtime.js +++ b/deno2/js/mock_runtime.js @@ -67,3 +67,11 @@ function DoubleSubFails() { deno.sub((channel, msg) => assert(false)); deno.sub((channel, msg) => assert(false)); } + + +// The following join has caused SnapshotBug to segfault when using kKeep. +[].join(""); + +function SnapshotBug() { + assert("1,2,3" === String([1, 2, 3])); +} |