@@ -74,11 +74,11 @@ cstr = [t allocMemoryWithSize: pageSize - 2]; memset(cstr, 'X', pageSize - 3); cstr[pageSize - 3] = '\0'; TEST(@"-[readLine]", [[t readLine] isEqual: @"foo"] && - [(str = [t readLine]) length] == pageSize - 3 && - !strcmp([str UTF8String], cstr)) + (str = [t readLine]).length == pageSize - 3 && + !strcmp(str.UTF8String, cstr)) [pool drain]; } @end