Skip to content

Commit 64e5091

Browse files
committed
fix silly test errors
1 parent 165465d commit 64e5091

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lang/racket-ffi/ast.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
(make-string-map
333333
(list
334334
(cons "pre-desugar" (to-pyret ast))
335-
(cons "post-desugar" (to-pyret (get-desugared str src ast)))))))
335+
(cons "post-desugar" (to-pyret (get-desugared str src check-mode?)))))))
336336

337337
(define-syntax-rule (has-brand obj brand)
338338
(ffi-unwrap (p:apply-fun (p:get-field p:dummy-loc ast (string-append "is-" (symbol->string (quote brand)))) p:dummy-loc (ffi-wrap obj))))

src/tests/compile-tests.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ Looks shipshape, all 2 tests passed, mate!
607607

608608
;; NOTE(joe): allow this here because checkers
609609
(parameterize [(current-allow-shadowed-vars #t)]
610-
(check-pyret-match/check "../lang/pyret-lib/moorings.arr" _ 31))
610+
(check-pyret-match/check "../lang/pyret-lib/moorings.arr" _ 35))
611611

612612
(check-pyret "prim-num-keys({})" (p:mk-num 0))
613613
(check-pyret "prim-num-keys({x:5})" (p:mk-num 1))

0 commit comments

Comments
 (0)