diff options
author | Michael Ficarra <mficarra@shapesecurity.com> | 2018-03-06 18:18:00 -0800 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2018-03-07 14:09:45 -0500 |
commit | 83ffb4bbf2a7a2f68075c8e611525b55ea5cfecc (patch) | |
tree | b5592940e641b3b0e2b1c38dfe53eee2b9fcdacc /test/built-ins/Function/prototype/toString/bound-function.js | |
parent | ce9419779fc61d5cdfa37a5cda7b6828c67221da (diff) | |
download | qtdeclarative-testsuites-83ffb4bbf2a7a2f68075c8e611525b55ea5cfecc.tar.gz |
allow any function to report its toString as a NativeFunction
related: https://github.com/tc39/Function-prototype-toString-revision/pull/26
Diffstat (limited to 'test/built-ins/Function/prototype/toString/bound-function.js')
-rw-r--r-- | test/built-ins/Function/prototype/toString/bound-function.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/Function/prototype/toString/bound-function.js b/test/built-ins/Function/prototype/toString/bound-function.js index b6ceb116e..20881fb71 100644 --- a/test/built-ins/Function/prototype/toString/bound-function.js +++ b/test/built-ins/Function/prototype/toString/bound-function.js @@ -9,4 +9,4 @@ includes: [nativeFunctionMatcher.js] let f = function(){}.bind(null); -assert(NATIVE_FUNCTION_RE.test("" + f), "looks pretty much like a NativeFunction"); +assertNativeFunction(f); |