Change environment argument to use ->environment.
authorChris Hanson <org/chris-hanson/cph>
Wed, 18 Jan 2017 00:01:50 +0000 (16:01 -0800)
committerChris Hanson <org/chris-hanson/cph>
Wed, 18 Jan 2017 00:01:50 +0000 (16:01 -0800)
tests/unit-testing.scm

index 3353ef39faed836ebf20cd053bd78c89138bc197..0f4287dca28bed942b5965a42c5f435e37f2d165 100644 (file)
@@ -69,7 +69,7 @@ USA.
   (let ((test-environment
         (if (default-object? parent)
             (make-top-level-environment)
-            (extend-top-level-environment parent))))
+            (extend-top-level-environment (->environment parent)))))
     (for-each (lambda (p)
                (environment-define test-environment (car p) (cdr p)))
              test-definitions)