File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
scribble-test/tests/scribble Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -947,14 +947,14 @@ END-OF-TESTS
947947 (define m
948948 (or (regexp-match #px"^(.*)\n\\s*(-\\S+->)\\s*\n(.*)$ " t)
949949 (regexp-match #px"^(.*\\S)\\s+(-\\S+->)\\s+(\\S.*)$ " t)))
950- (if (not ( and m (= 4 (length m) )))
951- (error 'bad-test "~a " t)
952- (let-values ([(x y) ((string->tester (caddr m)) (cadr m) (cadddr m))])
953- (test #:failure-message (format "bad result in\n ~a\n results:\n ~s != ~s "
954- (regexp-replace* #rx"\n " t "\n " )
955- x
956- y)
957- (matching? x y) ))))))
950+ (unless ( and m (= 4 (length m)))
951+ (error 'bad-test "~a " t) )
952+ (let-values ([(x y) ((string->tester (caddr m)) (cadr m) (cadddr m))])
953+ (test #:failure-message (format "bad result in\n ~a\n results:\n ~s != ~s "
954+ (regexp-replace* #rx"\n " t "\n " )
955+ x
956+ y)
957+ (matching? x y))))))
958958
959959 ;; Check static versus dynamic readtable for command (dynamic when "c" in the
960960 ;; name) and datum (dynamic when "d" in the name) parts:
You can’t perform that action at this time.
0 commit comments