From f9816e785fae46507f7597f759a43d822ce731f8 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilev Date: Sun, 7 Jan 2024 20:27:23 +0800 Subject: [PATCH] fix self-hosted test --- test/test.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/test.js b/test/test.js index b97b95b..a160ed2 100644 --- a/test/test.js +++ b/test/test.js @@ -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]