racket/collects/tests
Jay McCarthy 01a41a812e Closing pr11216. Adding one armed check-error to teaching languages.
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]

Here is an example:

(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)

Here is the output:

Ran 4 tests.
2 of the 4 tests failed.

No signature violations.

Check failures:
	check-error encountered the following error instead of the expected divide by zero
   :: /: division by zero
in ex.rkt, line 2, column 0
	check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
..
aligned-pasteboard
compiler removing indirects from zo handling 2010-09-16 12:45:37 -06:00
data updated splay-tree & skip-list interfaces, docs, tests, performance tests 2010-09-16 13:20:07 -06:00
datalog
deinprogramm
drracket Strengthens the definition-finder tests 2010-09-09 13:42:15 -05:00
file
framework
frtime
future
gracket
honu
htdp-lang Closing pr11216. Adding one armed check-error to teaching languages. 2010-09-16 21:00:05 -06:00
html
jpr
lazy
macro-debugger
match
mysterx
mzcom
net
plai
planet
plot
profile
r6rs
racket Add the contract information to chaperoned boxes, hashes, and vectors. 2010-09-16 20:49:04 -04:00
racklog
rackunit
scribble
slatex
srfi
srpersist
stepper
stxparse
syntax-color
test-engine
typed-scheme Added a test for optional let annotations. 2010-09-16 13:24:10 -04:00
units
unstable
utils
web-server Fixing redirectget test 2010-09-16 13:42:47 -06:00
xml
eli-tester.rkt Fixing an annoyance with eli-tester when the error string contains ~ 2010-09-16 12:45:36 -06:00
info.rkt
run-automated-tests.rkt
stress.rkt
zo-size.rkt