Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed #130 - transform unit test fails because of CRLF on windows

  • Loading branch information...
commit e56ee300d935d6e7951fe6bd5f9c854ce0fbd85b 1 parent 632ba57
@bjouhier bjouhier authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/common/transform-test.js
View
2  test/common/transform-test.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.