repair a test

Repair a test that is part of 8464896255, because `write-bytes-avail*`
is not obliged to write all bytes.
This commit is contained in:
Matthew Flatt 2020-07-02 15:37:11 -06:00
parent e0f390c8c8
commit 3824ddc5b4

View File

@ -1059,7 +1059,8 @@
(test "012" read-string 3 i2)
(thread-wait sync-thread)
(test #t equal? sync-test-var 1)
(test 5 write-bytes-avail* #"test123" two-pipes))
(let ([n (write-bytes-avail* #"test123" two-pipes)])
(test #t <= 1 n 5)))
;; --------------------------------------------------