t/examples/streams.t fails on Windows with something like # got: 'read:[ 1 =head1 INFORMATION\015] # read:[ 2 \015] ......... # expected: 'read:[ 1 =head1 INFORMATION] # read:[ 2 ]
and # got: 'read:[=head1 INFORMATION\015\n\015\nThis small example shows the] # read:[ usage of C<Stream::ParrotIO>.\015\n\015\nIt reads this fi] ......... # expected: 'read:[=head1 INFORMATION\n\nThis small example shows the u] # read:[sage of C<Stream::ParrotIO>.\n\nIt reads this file w] The test assumes that F<examples/streams/FileLines.pir> and F<examples/streams/ParrotIO.pir> have LF line separators, but are CRLF on Windows because their "svn:eol-style" is "native". With LF as line separator the tests work fine. t\examples\streams....ok All tests successful. Files=1, Tests=12, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) So I guess the "svn:eol-style" for the files should be changed to "LF". (Or the tests should normalize CRLF to LF.) Ron