Fix TR's async-channel-contract test
This commit is contained in:
parent
e1ad989d18
commit
0b8c29b98e
|
@ -1,5 +1,5 @@
|
|||
#;
|
||||
(exn-pred #rx"could not convert type to a contract.*Async-Channelof")
|
||||
(exn-pred #rx"expected: Integer.*given: \"not an integer\"")
|
||||
#lang racket/load
|
||||
|
||||
;; Test typed-untyped interaction with channels
|
||||
|
@ -13,7 +13,7 @@
|
|||
(thread (λ () (async-channel-put ch (box 3)))))
|
||||
(provide putter ch))
|
||||
|
||||
(require 'typed)
|
||||
(require 'typed racket/async-channel)
|
||||
(putter)
|
||||
(set-box! (async-channel-get ch) "not an integer")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user