Merge pull request #276 from omasanori/parameterize

Refactor t/parameterize.scm with (picrin test).
This commit is contained in:
Yuichi Nishiwaki 2015-06-25 16:57:13 +09:00
commit fd677f1f4a
1 changed files with 13 additions and 10 deletions

View File

@ -1,8 +1,9 @@
(import (scheme base)
(scheme write))
(picrin test))
; expects "piece by piece by piece.\n"
(write
(test-begin)
(test "piece by piece by piece.\n"
(parameterize
((current-output-port (open-output-string)))
(display "piece")
@ -10,3 +11,5 @@
(display "by piece.")
(newline)
(get-output-string)))
(test-end)