From b44d7a16eeaa9648e5c35fc5fdddae0f93620721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 30 Apr 2025 14:16:15 +0200 Subject: [PATCH] Use assertNativeFunction to test function string output --- test/staging/sm/Function/function-bind.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/staging/sm/Function/function-bind.js b/test/staging/sm/Function/function-bind.js index 5c2daf59c7..05dae1e5e0 100644 --- a/test/staging/sm/Function/function-bind.js +++ b/test/staging/sm/Function/function-bind.js @@ -245,7 +245,7 @@ function testBound(fun) testBound(strict); testBound(nonstrict); -assertNativeFunction((function unbound(){"body"}).bind()); +assertNativeFunction(function unbound(){"body"}.bind()); /* 22. Return F. */ var passim = function p(){}.bind(1);