Test the error message instead of a predicate

This test was broken prior to commit 370c4bd but
didn't fail because the test harness didn't test for
the right error.

original commit: 401c4dd0a662da7bf3dfe211946f9ab12f8a8346
This commit is contained in:
Asumu Takikawa 2013-12-18 18:09:29 -05:00
parent 20cd880755
commit 80d4bc4833

View File

@ -1,5 +1,5 @@
#;
(exn-pred exn:fail:contract?)
(exn-pred #rx"Attempted to use a higher-order value passed as `Any`")
#lang racket
(module typed typed/racket