1
0
Fork 0

Issue #1675 . allow enabling strict mode in tests

This commit is contained in:
Andreas Streichardt 2016-01-22 11:35:54 +01:00
parent 72e661d0ea
commit c60d1f5b44
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ function RunTest (path, outputReply) {
content = fs.read(path);
content = "(function(){require('jsunity').jsUnity.attachAssertions();" + content + "\n})";
content = "(function(){require('jsunity').jsUnity.attachAssertions(); return (function() {" + content + "}());\n})";
f = internal.executeScript(content, undefined, path);
if (f === undefined) {