mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 22:21:15 +00:00
Fix snapshot bug. (#267)
This commit is contained in:
parent
e6f51fd458
commit
064d889af0
3 changed files with 17 additions and 1 deletions
|
@ -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]));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue