fix self-hosted test

This commit is contained in:
Dmitry Vasilev
2024-01-07 20:27:23 +08:00
parent 3579871a21
commit f9816e785f

View File

@@ -5226,13 +5226,7 @@ const y = x()`
test('mutability quicksort', () => {
const code = `
const loop = new Function('action', \`
while(true) {
if(action()) {
return
}
}
\`)
const loop = new Function('action', 'while(true) { if(action()) { return } }')
function partition(arr, begin, end) {
const pivot = arr[begin]