From: SourceForge.net <no...@so...> - 2010-02-19 22:32:20
|
Bugs item #2758971, was opened at 2009-04-13 07:02 Message generated for change (Comment added) made by miesfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2758971&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interpreter >Group: v4.0 >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Mark Miesfeld (miesfeld) Assigned to: Rick McGuire (bigrixx) Summary: Test suite failure LINES.testGroup Initial Comment: Rick - just opening this to keep track of it. [failure] [20090413 06:29:43.750000] svn: r3371 Change date: 2008-09-20 21:33:29 -0700 Test: TEST_NORMAL_BYTES Class: LINES.testGroup File: C:\work.ooRexx\ooTest\4.0.0\ooRexx\base\bif\LINES.testGroup Line: 201 Failed: assertSame Expected: [[0], identityHash="1099511355278"] Actual: [[1], identityHash="1099511325944"] Message: Read all bytes, 0 lines should remain The file is 23 bytes and after reading it, lines() reports 1 instead of 0. ::method test_normal_bytes -- Create a temp file with some lines. fileName = createFile(.array~of('dog', 'cat', 'lion', 'tiger'), "delMe_BIF_LinesBytes") self~assertFalse(fileName == "", 'temp file must be created') -- See how many bytes in size it is bytes = stream(fileName, "C", "QUERY SIZE") -- If we read in all the bytes, normal should return 0 discard = charin(fileName, bytes) self~assertSame(0, lines(fileName), 'Read all bytes, 0 lines should remain') ---------------------------------------------------------------------- Comment By: Mark Miesfeld (miesfeld) Date: 2010-02-19 14:32 Message: The fix for this item was in the 4.0.0 release. ---------------------------------------------------------------------- Comment By: Rick McGuire (bigrixx) Date: 2009-04-13 08:04 Message: Committed revision 4364. Updated both in trunk and the beta branch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2758971&group_id=119701 |