Newline in version

Paul C. Anagnostopoulos paul at windfall.com
Mon Aug 30 12:06:42 UTC 2010


When I run the tests on my Windows XP machine, I get the following error:

t\compilers\opsc\06-opsfile.t ..

not ok 6 # Version parsed
> <2 7 0

This is checking the version returned by Ops::File.new. Turns out it has a newline at the end, so it does not match /^\d+ \s \d+ \s \d+$/. I presume it shouldn't have the newline.

Should it? If so, I'll fix the test. If not, I'll open a ticket. Can someone verify whether this happens on a non-Windows system?

~~ Paul



More information about the parrot-dev mailing list