Differences From Artifact [346b537e80]:
- File tests/OFStreamTests.m — part of check-in [da6b3d26cb] at 2011-01-01 20:19:54 on branch trunk — Change license. (user: js, size: 1735) [annotate] [blame] [check-ins using]
To Artifact [f7dd955202]:
- File tests/OFStreamTests.m — part of check-in [e6fd39d11e] at 2011-09-12 19:57:39 on branch trunk — Rename -[cString] to -[UTF8String]. (user: js, size: 1738) [annotate] [blame] [check-ins using]
︙ | |||
75 76 77 78 79 80 81 | 75 76 77 78 79 80 81 82 83 84 85 86 | - + | cstr = [t allocMemoryWithSize: of_pagesize - 2]; memset(cstr, 'X', of_pagesize - 3); cstr[of_pagesize - 3] = '\0'; TEST(@"-[readLine]", [[t readLine] isEqual: @"foo"] && [(str = [t readLine]) length] == of_pagesize - 3 && |