diff --git a/collects/rackunit/private/base.rkt b/collects/rackunit/private/base.rkt index b1b315df5a..7a0e2ab480 100644 --- a/collects/rackunit/private/base.rkt +++ b/collects/rackunit/private/base.rkt @@ -11,7 +11,7 @@ ;; struct exn:test exn : () ;; ;; The exception throw by test failures -(define-struct (exn:test exn) ()) +(define-struct (exn:test exn:fail) ()) ;; struct (exn:test:check struct:exn:test) : (list-of check-info) ;; ;; The exception thrown to indicate a check has failed diff --git a/collects/rackunit/scribblings/internals.scrbl b/collects/rackunit/scribblings/internals.scrbl index 4a22aeb102..2d901a97c9 100644 --- a/collects/rackunit/scribblings/internals.scrbl +++ b/collects/rackunit/scribblings/internals.scrbl @@ -81,7 +81,7 @@ custom UIs can be created. @subsection{Result Types} -@defstruct[(exn:test exn) ()]{ +@defstruct[(exn:test exn:fail) ()]{ The base structure for RackUnit exceptions. You should never catch instances of this type, only the subtypes