Subject: | Win32: Newline problem tripping up t/File-Find-Rule.t |
When running
nmake test
on Win32, test 20 on line 159 in File-Find-Rule.t fails.
It looks for file "foobar" which should be 10 bytes. It's actually 11 bytes so the file isn't found.
I suspect this has to do with the trailing Windows CR-LF in the file (is it created programmatically perhaps?).
Replacing the \n with a "!" (making the file become 10 bytes) made all the tests work.
Suggested fix: Replace the \n in the file with some other char.
I tagged this as important because since the tests fail, it's not in the ActiveState PPM repository, so I had to install it (and its dependencies) "manually". Many people on Windows don't know how to do that, so this failing test probably limits the module's reach.