diff options
author | Andy Wingo <wingo@pobox.com> | 2019-10-22 14:00:12 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2019-10-22 14:00:12 +0200 |
commit | 6205c2d7d44b3be61d01b697efe38a8b6a3c5b26 (patch) | |
tree | 78e0cb1aed69a8e16444ca9e2987bd9392a6bdf7 | |
parent | f7b4055b16336aa5af8b48f53c0267c9d7182c2e (diff) | |
download | guile-6205c2d7d44b3be61d01b697efe38a8b6a3c5b26.tar.gz |
Fix deprecated 1-arg `make-module' in tests
* test-suite/tests/modules.test ("circular imports"): Use nullary
make-module.
-rw-r--r-- | test-suite/tests/modules.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-suite/tests/modules.test b/test-suite/tests/modules.test index d99b961b3..de595c02d 100644 --- a/test-suite/tests/modules.test +++ b/test-suite/tests/modules.test @@ -1,6 +1,6 @@ ;;;; modules.test --- exercise some of guile's module stuff -*- scheme -*- -;;;; Copyright (C) 2006, 2007, 2009-2011, 2014 Free Software Foundation, Inc. +;;;; Copyright (C) 2006, 2007, 2009-2011, 2014, 2019 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 @@ -446,7 +446,7 @@ (define from-b 2)) (current-module))) (define (submodule-binder mod name) - (let ((m (make-module 31))) + (let ((m (make-module))) (set-module-kind! m 'directory) (set-module-name! m (append (module-name mod) (list name))) (module-define-submodule! mod name m) |