io.ports.tests: better to use with-disposal than calling the dispose word explicitly

db4
Björn Lindqvist 2014-09-23 17:05:21 +02:00 committed by John Benediktsson
parent 47c16ed078
commit c1187500de
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ IN: io.ports.tests
[ ] [ "test.txt" temp-file delete-file ] unit-test [ ] [ "test.txt" temp-file delete-file ] unit-test
! Getting the stream-element-type of an output-port was broken ! Getting the stream-element-type of an output-port was broken
[ +byte+ ] [ binary <pipe> [ stream-element-type ] [ dispose ] bi ] unit-test [ +byte+ ] [ binary <pipe> [ stream-element-type ] with-disposal ] unit-test
[ +byte+ ] [ binary <pipe> [ out>> stream-element-type ] [ dispose ] bi ] unit-test [ +byte+ ] [ binary <pipe> [ out>> stream-element-type ] with-disposal ] unit-test
[ +character+ ] [ ascii <pipe> [ stream-element-type ] [ dispose ] bi ] unit-test [ +character+ ] [ ascii <pipe> [ stream-element-type ] with-disposal ] unit-test
[ +character+ ] [ ascii <pipe> [ out>> stream-element-type ] [ dispose ] bi ] unit-test [ +character+ ] [ ascii <pipe> [ out>> stream-element-type ] with-disposal ] unit-test