Automatically generate `peek-char' decoding error tests.
authorLudovic Courtès <ludo@gnu.org>
Wed, 4 May 2011 21:52:53 +0000 (23:52 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 4 May 2011 21:52:53 +0000 (23:52 +0200)
commite6e286bb5895197a9433817fe3998a7c7c525386
tree1fdf74ac2f90665c2795388967b2f2d82827a91b
parent00b6ef23f320afff35fcc3a163bc66d5f9a230e8
Automatically generate `peek-char' decoding error tests.

* test-suite/tests/ports.test ("string ports")[make-peek+read-checks]:
  New macro.
  [test-decoding-error]: Change to take a list of expected characters or
  conditions.  Use `make-peek+read-checks' to generate a `peek-char'
  test.
  [(#xc2 #x41 #x42), (#xe0 #xa0 #x41 #x42)]: New tests.
test-suite/tests/ports.test