1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

fix srfi-31 check after macroexpand rename

* test-suite/tests/srfi-31.test: ("rec special form"): Fix check.
This commit is contained in:
Andy Wingo 2010-03-19 17:05:46 +01:00
parent 8a73a6d294
commit 7f10a113c5

View file

@ -1,6 +1,6 @@
;;;; srfi-31.test --- Test suite for Guile's SRFI-31 functions. -*- scheme -*-
;;;;
;;;; Copyright (C) 2004, 2006 Free Software Foundation, Inc.
;;;; Copyright (C) 2004, 2006, 2010 Free Software Foundation, Inc.
;;;;
;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@ -23,8 +23,8 @@
(with-test-prefix "rec special form"
(pass-if-exception "bogus variable" '(misc-error . ".*")
(sc-expand '(rec #:foo)))
(eval '(rec #:foo) (current-module)))
(pass-if "rec expressions"
(let ((ones-list (rec ones (cons 1 (delay ones)))))
(and (= 1 (car ones-list))