mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
fix self-hosted test
This commit is contained in:
@@ -5226,13 +5226,7 @@ const y = x()`
|
|||||||
|
|
||||||
test('mutability quicksort', () => {
|
test('mutability quicksort', () => {
|
||||||
const code = `
|
const code = `
|
||||||
const loop = new Function('action', \`
|
const loop = new Function('action', 'while(true) { if(action()) { return } }')
|
||||||
while(true) {
|
|
||||||
if(action()) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
\`)
|
|
||||||
|
|
||||||
function partition(arr, begin, end) {
|
function partition(arr, begin, end) {
|
||||||
const pivot = arr[begin]
|
const pivot = arr[begin]
|
||||||
|
|||||||
Reference in New Issue
Block a user