fix srfi-31 check after macroexpand rename
authorAndy Wingo <wingo@pobox.com>
Fri, 19 Mar 2010 16:05:46 +0000 (17:05 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 19 Mar 2010 16:05:46 +0000 (17:05 +0100)
* test-suite/tests/srfi-31.test: ("rec special form"): Fix check.

test-suite/tests/srfi-31.test

index 6d65ce2..8537d49 100644 (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))