diff options
Diffstat (limited to 'test/sandbox.js')
-rw-r--r-- | test/sandbox.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sandbox.js b/test/sandbox.js index 13cfe088..426ac1fc 100644 --- a/test/sandbox.js +++ b/test/sandbox.js @@ -40,7 +40,7 @@ function safe_log(arg, level) { } function strip_func_ids(text) { - return text.toString().replace(/F[0-9]{6}N/g, "<F<>N>"); + return ("" + text).replace(/F[0-9]{6}N/g, "<F<>N>"); } var context; |