Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-JSR-4
-
None
Description
reader = new StringReader('abc')
writer = new StringWriter()
reader.transformLine(writer)
{ it }assert writer.toString().startsWith('abc')
writer.toString() is empty but should contain
'abc' plus a System-dependent line feed (writer.newLine()).
The code in DefaultGroovyMethods looks ok, though...