#1760: Spurious newline in version string
-------------------------------------+--------------------------------------
Reporter: Paul C. Anagnostopoulos | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: library | Version: 2.6.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-------------------------------------+--------------------------------------
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+$/}}}. The
newline should be removed. (I added the angle brackets around the version
display so it is easier to see what's happening.)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1760>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets