Skip to content

Instantly share code, notes, and snippets.

@takikawa
Created December 7, 2012 22:59
Show Gist options
  • Select an option

  • Save takikawa/4237247 to your computer and use it in GitHub Desktop.

Select an option

Save takikawa/4237247 to your computer and use it in GitHub Desktop.
stack trace from check
#lang racket
(require rackunit)
(test-begin
(parameterize ([current-check-around
(λ (thunk)
(with-handlers ([exn? (λ (e) ((error-display-handler) "check" e))])
(thunk)))])
(check-equal? 1 2)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment