Add some tests for the R6RS I/O libraries
authorAndreas Rottmann <a.rottmann@gmx.at>
Fri, 27 May 2011 12:48:31 +0000 (14:48 +0200)
committerAndreas Rottmann <a.rottmann@gmx.at>
Fri, 27 May 2011 12:48:31 +0000 (14:48 +0200)
commitdfc4d56df1854e1c93606fa03497ff7218357e3d
tree81d4b370026a44909c0384270b8b2a387c993e48
parentc382f58943a80cc9467695b3f2399407bcf7e1bf
Add some tests for the R6RS I/O libraries

* test-suite/tests/r6rs-ports.test
  (call-with-bytevector-output-port/transcoded): New helper procedure.
  ("8.2.6 Input and output ports"): Use that helper procedure.
  (encoding-error-predicate): New helper procedure.
  ("8.2.12 Textual Output"): Add tests for `put-char' and `put-string'
  exception behavior on encoding errors.
test-suite/tests/r6rs-ports.test