]> khamidou — GitHub mirrors - electron.git/commit
Made the tests ignore the line ending
authorEran Tiktin <eran.t@mce-sys.com>
Sat, 8 Aug 2015 17:03:34 +0000 (20:03 +0300)
committerEran Tiktin <eran.t@mce-sys.com>
Sat, 8 Aug 2015 17:03:34 +0000 (20:03 +0300)
commitb67070f0ae27b8ba32f861cc06f84d4b6900515d
tree8be5f1384d6bd428fe10b1fc837c31a16e8d668f
parent3250764e72d8f28e984bad31b16b6baa37add449
Made the tests ignore the line ending

I had 4 asar tests fail because, the testing assumed that the file
content ends with UNIX line endings (\n), while it was using Windows
line endings (git probably changed them when I cloned the project on
Windows).
Since the line ending is not what matters in the tests, I trimmed them
and now all the tests pass as expected.
spec/asar-spec.coffee