From 2e4d4e21ca4f6adc41f792f61030018ade4028c5 Mon Sep 17 00:00:00 2001 From: Ryan Culpepper Date: Thu, 1 Dec 2011 12:10:41 -0700 Subject: [PATCH] rackunit: change exn:test to extent exn:fail closes PR 12393 --- collects/rackunit/private/base.rkt | 2 +- collects/rackunit/scribblings/internals.scrbl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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