Test Scheme port implementation

* module/ice-9/ports.scm: Add port-decode-char to internals export
  list.
* test-suite/Makefile.am:
* test-suite/tests/sports.test: Add new test.
This commit is contained in:
Andy Wingo 2016-05-16 14:04:54 +02:00
commit e32dcf214e
3 changed files with 53 additions and 0 deletions

View file

@ -178,6 +178,7 @@ interpret its input and output."
%port-encoding
specialize-port-encoding!
port-random-access?
port-decode-char
port-read-buffering))
(define-syntax-rule (port-buffer-bytevector buf) (vector-ref buf 0))