tests: Check 'simple-format' with closed current-output-port.
authorLudovic Courtès <ludo@gnu.org>
Thu, 20 Mar 2014 08:40:42 +0000 (09:40 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 20 Mar 2014 08:40:42 +0000 (09:40 +0100)
commitf2c3d29fd256ff4b6022d9af98543be7c625422e
treec562cb8b5a1ea6c7082043f89b5a8d2384f31c7e
parent5dcbcfcef8eefd1f9e57d8ba69efe1ca945c95b1
tests: Check 'simple-format' with closed current-output-port.

This is a follow-up to e26ab06.

* libguile/print.c (scm_simple_format): Pass 1 to
  SCM_VALIDATE_OPORT_VALUE, for 'destination'.
* test-suite/tests/format.test ("simple-format"): Add test.
libguile/print.c
test-suite/tests/format.test