fix Scribble reader test regexp-split pattern
This commit is contained in:
parent
2e77afe5da
commit
2fb34bcfdc
|
@ -920,7 +920,7 @@ END-OF-TESTS
|
|||
;; remove all comment lines
|
||||
[ts (regexp-replace* #px"(?m:^;.*\r?\n)" ts "")]
|
||||
;; split the tests
|
||||
[ts (regexp-split #px"(?:^|\r?\n)-+(?:$|\r?\n)" ts)])
|
||||
[ts (regexp-split #px"(?m:^)-+(?:$|\r?\n)" ts)])
|
||||
(parameterize ([port-count-lines-enabled #t])
|
||||
(for ([t ts] #:when (not (regexp-match? #px"^\\s*$" t)))
|
||||
(let ([m (or (regexp-match #px"^(.*)\n\\s*(-\\S+->)\\s*\n(.*)$"
|
||||
|
|
Loading…
Reference in New Issue
Block a user