Fix TR's async-channel-contract test

This commit is contained in:
Asumu Takikawa 2015-01-20 14:16:44 -05:00
parent e1ad989d18
commit 0b8c29b98e

View File

@ -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")