redex: fix unify coverage tests
expect `_' from match-a-pattern, instead of `else'
This commit is contained in:
parent
512d953a01
commit
66824ec9a9
|
@ -18,12 +18,12 @@
|
|||
values
|
||||
(map
|
||||
(λ (clause)
|
||||
(syntax-case clause (else)
|
||||
(syntax-case clause (_)
|
||||
[[cond #f] #f]
|
||||
[[`(name id pat) if-part]
|
||||
[eq? 'name (syntax-e #'name)]
|
||||
#f] ;; skip this here, want bound variant for pat* - added in pat-unify
|
||||
[[else exp ...] #f] ;; skip the cstr test; that's added elsewhere
|
||||
[[_ exp ...] #f] ;; skip the cstr test; that's added elsewhere
|
||||
[[cond not-false ...] #'cond]))
|
||||
(syntax->list #'(clauses ...))))))
|
||||
(stx-car (stx-cdr stx)))]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user