Skip to content

Commit e8761c2

Browse files
committed
Version 1.4.6: fixed typo in run-tests; better debugging; show more output in run-tests verbose
1 parent 08a7676 commit e8761c2

File tree

6 files changed

+120
-104
lines changed

6 files changed

+120
-104
lines changed

calysto_scheme/modules/test_all.ss

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -714,17 +714,13 @@
714714
"choose")
715715

716716
(assert equal?
717-
(parse '(let ((- +)(+ -)) (+ 1 2)))
718-
(if (use-lexical-address)
719-
'(app-aexp (lambda-aexp (- +) ((app-aexp (lexical-address-aexp 0 1 + none) ((lit-aexp 1 none) (lit-aexp 2 none)) none)) none) ((lexical-address-aexp 0 2 + none) (lexical-address-aexp 0 3 - none)) none)
720-
'(app-aexp (lambda-aexp (- +) ((app-aexp (var-aexp + none) ((lit-aexp 1 none) (lit-aexp 2 none)) none)) none) ((var-aexp + none) (var-aexp - none)) none))
717+
(car (parse '(let ((- +)(+ -)) (+ 1 2))))
718+
'app-aexp
721719
"parse")
722720

723721
(assert equal?
724-
(parse-string "(let ((- +)) (- 7 8))")
725-
(if (use-lexical-address)
726-
'(app-aexp (lambda-aexp (-) ((app-aexp (lexical-address-aexp 0 0 - (0 1 15 15 1 15 15)) ((lit-aexp 7 (0 1 17 17 1 17 17)) (lit-aexp 8 (0 1 19 19 1 19 19))) (0 1 14 14 1 20 20))) none) ((lexical-address-aexp 0 2 + (0 1 10 10 1 10 10))) (0 1 1 1 1 21 21 let))
727-
'(app-aexp (lambda-aexp (-) ((app-aexp (var-aexp - (0 1 15 15 1 15 15)) ((lit-aexp 7 (0 1 17 17 1 17 17)) (lit-aexp 8 (0 1 19 19 1 19 19))) (0 1 14 14 1 20 20))) none) ((var-aexp + (0 1 10 10 1 10 10))) (0 1 1 1 1 21 21 let)))
722+
(length (parse-string "(let ((- +)) (- 7 8))"))
723+
4
728724
"parse-string")
729725

730726
(assert eq?

0 commit comments

Comments
 (0)