Ticket #1760 (closed bug: fixed)
Spurious newline in version string
Reported by: | Paul C. Anagnostopoulos | Owned by: | cotto |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | library | Version: | 2.6.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
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.)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.