Skip to content

Commit a4a07dc

Browse files
committed
Print random testing mismatch messages to stderr
1 parent a2f9553 commit a4a07dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typed-racket-test/external/tr-random-testing.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
(and (not racket-failed?)
271271
;; for NaN, which is not = to itself
272272
(or (equal? racket-result tr-result)
273-
(begin (printf "not same result untyped: ~s typed: ~s\n" racket-result tr-result)
273+
(begin (eprintf "not same result untyped: ~s typed: ~s\n" racket-result tr-result)
274274
#;(printf "expanded typed code is: ~s\n"
275275
(simplify-expanded (tr-eval `(syntax->datum (expand (quote (#%top-interaction . ,sexp)))))))
276276
#f)))))

0 commit comments

Comments
 (0)