Add missing function to typed/rackunit
implementation.
Repairs 10dc53375
. Found by the "semver" package.
Merge to 6.4.
This commit is contained in:
parent
5f35f447b5
commit
23bda72953
|
@ -127,6 +127,12 @@
|
|||
(ensure-string name (quote-syntax #,(datum->syntax #f 'loc #'name)))])
|
||||
(test-begin expr ...)))]))
|
||||
|
||||
(: ensure-string : Any Any -> String)
|
||||
(define (ensure-string name src-stx)
|
||||
(unless (string? name)
|
||||
(raise-argument-error 'test-case "string?" name))
|
||||
name)
|
||||
|
||||
(provide test-begin test-case)
|
||||
|
||||
(require/opaque-type TestCase test-case? rackunit)
|
||||
|
|
Loading…
Reference in New Issue
Block a user