From 44394e61c95e29bcae68087d5ada2036be9b073d Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Tue, 23 Mar 2021 03:15:41 +0000 Subject: workaround `toString()` quirks on global context (#4814) --- test/mocha/reduce.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/mocha/reduce.js') diff --git a/test/mocha/reduce.js b/test/mocha/reduce.js index 238d11ef..64fea56d 100644 --- a/test/mocha/reduce.js +++ b/test/mocha/reduce.js @@ -366,7 +366,7 @@ describe("test/reduce.js", function() { var code = [ "(async function() {});", "for (var k in this);", - "console.log(k);", + "console.log(k, 42 + this);", ].join("\n"); var result = reduce_test(code, { mangle: false, -- cgit v1.2.3 ();'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/packages.scm
AgeCommit message (Expand)Author
2021-02-01tests: Optimize 'fold-available-packages' test....Ludovic Courtès