Skip to content

Commit

Permalink
fixed #130 - transform unit test fails because of CRLF on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bjouhier committed Nov 17, 2012
1 parent 632ba57 commit e56ee30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/transform-test.js
Expand Up @@ -5,7 +5,7 @@ module("streamline generation");

function clean(s) {
if (typeof jQuery === "function" && jQuery.browser.mozilla) return new Function(s).toString();
else return s.replace(/[\n\t ]/g, '').replace(/};/g, '}').replace(/=\(_\|\|__trap\)/g, '=_||__trap').replace(/__frame,-?\d+,-?\d+,/g, '__frame,?,?,');
else return s.replace(/\s/g, '').replace(/};/g, '}').replace(/=\(_\|\|__trap\)/g, '=_||__trap').replace(/__frame,-?\d+,-?\d+,/g, '__frame,?,?,');
}

function genTest(f1, f2) {
Expand Down

0 comments on commit e56ee30

Please sign in to comment.