Skip to content

rackunit handling of exceptions #177

@rfindler

Description

@rfindler

This program:

#lang racket
(require rackunit)
(check-equal?
 (match 1
   [2 #f])
 2)

doesn't say what line the match is on, but match, in general, includes that information, as in this example:

#lang racket
(match 1
  [2 #f])

where it produces something like:

match: no matching clause for 1
  location...:
   /Users/robby/tmp2.rkt:2:0

I think it should work to have rackunit simply call the error display handler but maybe there is something else to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions