Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't lead on String#strip -- make test files exactly match what we e…

…xpect.
  • Loading branch information...
commit a7c2bee5d8e50eaebe39473103c6932858e10c8b 1 parent 33a6d4f
@jcoglan authored
View
2  test/expected/LISTING
@@ -7,4 +7,4 @@ box.js
ext-min.js
ext.js
foo-min.js
-foo.js
+foo.js
View
2  test/expected/README
@@ -1 +1 @@
-Should be generated after build
+Should be generated after build
View
2  test/expected/basic-min.js
@@ -5,4 +5,4 @@
**/
Basic={VERSION:"0.5.0-min",function(a){var b=4;return b+this._0+a}};
-//@ sourceMappingURL=basic-min.js.map
+//@ sourceMappingURL=basic-min.js.map
View
2  test/expected/basic-min.js.map
@@ -5,4 +5,4 @@
"sources": ["basic.js"],
"names": ["_foo", "myVar", "something"],
"mappings": ";;;;;;AAMA,OACE,eAAiB,KAEjB,SAASE,GACP,IAAID,IACJ,OAAOA,EAAQ,KAAKD,GAAOE;"
-}
+}
View
2  test/expected/basic.js
@@ -11,4 +11,4 @@ Basic = {
var myVar = 4;
return myVar + this._foo + something;
}
-};
+};
View
2  test/expected/combo/box-min.js
@@ -7,4 +7,4 @@
Foo=(function(b,c){var a=true;return{_0:null,field:a,global:foo}})(window,something);
//@ sourceMappingURL=foo-min.js.map
Basic={VERSION:"0.5.0-min",function(a){var b=4;return b+this._foo+a}};Basic.Ext="MIN";
-//@ sourceMappingURL=ext-min.js.map
+//@ sourceMappingURL=ext-min.js.map
View
2  test/expected/combo/box.js
@@ -31,4 +31,4 @@ Basic = {
-Basic.Ext = "SRC";
+Basic.Ext = "SRC";
View
2  test/expected/ext-min.js
@@ -5,4 +5,4 @@
**/
Basic={VERSION:"0.5.0-min",function(a){var b=4;return b+this._foo+a}};Basic.Ext="MIN";
-//@ sourceMappingURL=ext-min.js.map
+//@ sourceMappingURL=ext-min.js.map
View
2  test/expected/ext.js
@@ -18,4 +18,4 @@ Basic = {
-Basic.Ext = "SRC";
+Basic.Ext = "SRC";
View
2  test/expected/sub/dir/foo-min.js
@@ -5,4 +5,4 @@
**/
Foo=(function(b,c){var a=true;return{_0:null,field:a,global:foo}})(window,something);
-//@ sourceMappingURL=foo-min.js.map
+//@ sourceMappingURL=foo-min.js.map
View
2  test/expected/sub/dir/foo.js
@@ -12,4 +12,4 @@ Foo = (function(my, vars) {
field: another,
global: foo
};
-})(window, something);
+})(window, something);
View
2  test/expected/sub/path/bar-min.js
@@ -1,4 +1,4 @@
/** Alternate header 0.5.0-min **/
(function(object){var Bar={_0:object}})();
-//@ sourceMappingURL=bar-min.js.map
+//@ sourceMappingURL=bar-min.js.map
View
2  test/expected/sub/path/bar.js
@@ -2,4 +2,4 @@
(function(object) {
var Bar = {_another: object};
-})();
+})();
View
2  test/test_jake.rb
@@ -27,7 +27,7 @@ def test_build
flunk "File #{actual_path} is missing" unless File.file?(actual_path)
- assert_equal File.read(path).strip, File.read(actual_path),
+ assert_equal File.read(path), File.read(actual_path),
"File #{actual_path} does not match #{path}"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.