summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/toString/unicode.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/prototype/toString/unicode.js')
-rw-r--r--test/built-ins/Function/prototype/toString/unicode.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/built-ins/Function/prototype/toString/unicode.js b/test/built-ins/Function/prototype/toString/unicode.js
index fa176fac2..d7addb1cf 100644
--- a/test/built-ins/Function/prototype/toString/unicode.js
+++ b/test/built-ins/Function/prototype/toString/unicode.js
@@ -7,8 +7,9 @@ description: Function.prototype.toString on a function with Unicode escape seque
info: |
Function.prototype.toString returns a slice of the source text before
any potential Unicode escape sequence substitution in identifiers
+includes: [nativeFunctionMatcher.js]
---*/
function \u0061(\u{62}, \u0063) { \u0062 = \u{00063}; return b; }
-assert.sameValue(a.toString(), "function \\u0061(\\u{62}, \\u0063) { \\u0062 = \\u{00063}; return b; }");
+assertToStringOrNativeFunction(a, "function \\u0061(\\u{62}, \\u0063) { \\u0062 = \\u{00063}; return b; }");