Merge pull request #276 from omasanori/parameterize
Refactor t/parameterize.scm with (picrin test).
This commit is contained in:
commit
fd677f1f4a
|
@ -1,8 +1,9 @@
|
||||||
(import (scheme base)
|
(import (scheme base)
|
||||||
(scheme write))
|
(picrin test))
|
||||||
|
|
||||||
; expects "piece by piece by piece.\n"
|
(test-begin)
|
||||||
(write
|
|
||||||
|
(test "piece by piece by piece.\n"
|
||||||
(parameterize
|
(parameterize
|
||||||
((current-output-port (open-output-string)))
|
((current-output-port (open-output-string)))
|
||||||
(display "piece")
|
(display "piece")
|
||||||
|
@ -10,3 +11,5 @@
|
||||||
(display "by piece.")
|
(display "by piece.")
|
||||||
(newline)
|
(newline)
|
||||||
(get-output-string)))
|
(get-output-string)))
|
||||||
|
|
||||||
|
(test-end)
|
||||||
|
|
Loading…
Reference in New Issue