On 2012-03-10 17:10:52 +0000, Jonathan M Davis said:

Otherwise, this wouldn't have been a problem :)

Then you'll probably have to write a wrapper function which just uses byLine
and join to grab the string line by line and then put it back together again.

Indeed. Not a problem.

Just surprised me that there wasn't a standard way of writing file-related unit tests :)

--
Magnus Lie Hetland
http://hetland.org

Reply via email to