diff options
author | Ludovic Courtès | 2020-08-01 12:40:39 +0200 |
---|---|---|
committer | Ludovic Courtès | 2020-08-01 17:00:12 +0200 |
commit | ddb2e47d8ed4d6d6508d342c0718492f99db64d4 (patch) | |
tree | 051389241f5d3a7bf4696bc7543550e0068e6256 /tests | |
parent | acbd354ca0a32a5a551869a3650c9d265b83b204 (diff) | |
download | skribilo-ddb2e47d8ed4d6d6508d342c0718492f99db64d4.tar.gz skribilo-ddb2e47d8ed4d6d6508d342c0718492f99db64d4.tar.lz skribilo-ddb2e47d8ed4d6d6508d342c0718492f99db64d4.zip |
Write '#:use-module', '#:export', etc. instead of ':use-module', etc.
Changes made by running:
for i in $(git ls-tree -r HEAD --name-only) ; do sed -i $i -e's/:use-module/#:use-module/g ; s/:autoload/#:autoload/g ; s/:export/#:export/g' ; done
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ast.test | 12 | ||||
-rw-r--r-- | tests/engines/info.test | 14 | ||||
-rw-r--r-- | tests/location.test | 16 | ||||
-rw-r--r-- | tests/readers/rss-2.test | 6 | ||||
-rw-r--r-- | tests/resolve.test | 10 |
5 files changed, 29 insertions, 29 deletions
diff --git a/tests/ast.test b/tests/ast.test index 596d9d3..8b8db48 100644 --- a/tests/ast.test +++ b/tests/ast.test @@ -18,12 +18,12 @@ ;;; along with this program. If not, see <http://www.gnu.org/licenses/>. (define-module (tests ast) - :use-module (ice-9 match) - :use-module (skribilo ast) - :use-module (skribilo package base) - :use-module (srfi srfi-1) - :use-module (srfi srfi-64) - :use-module (ice-9 match)) + #:use-module (ice-9 match) + #:use-module (skribilo ast) + #:use-module (skribilo package base) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-64) + #:use-module (ice-9 match)) (define (tree-map proc tree) ;; Map PROC over TREE. diff --git a/tests/engines/info.test b/tests/engines/info.test index 389f8ba..ea3f17e 100644 --- a/tests/engines/info.test +++ b/tests/engines/info.test @@ -18,13 +18,13 @@ ;;; along with this program. If not, see <http://www.gnu.org/licenses/>. (define-module (tests engines info) - :use-module (skribilo ast) - :use-module (skribilo engine) - :use-module (skribilo resolve) - :use-module (skribilo package base) - :use-module (srfi srfi-1) - :use-module (srfi srfi-11) - :use-module (srfi srfi-64)) + #:use-module (skribilo ast) + #:use-module (skribilo engine) + #:use-module (skribilo resolve) + #:use-module (skribilo package base) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-11) + #:use-module (srfi srfi-64)) (define %info (find-engine 'info)) diff --git a/tests/location.test b/tests/location.test index e4d1402..8d0e2c6 100644 --- a/tests/location.test +++ b/tests/location.test @@ -18,14 +18,14 @@ ;;; along with this program. If not, see <http://www.gnu.org/licenses/>. (define-module (tests location) - :use-module (skribilo ast) - :use-module (skribilo reader) - :use-module (skribilo evaluator) - :use-module (skribilo package base) - :use-module (skribilo location) - :use-module (srfi srfi-1) - :use-module (srfi srfi-64) - :use-module (ice-9 match)) + #:use-module (skribilo ast) + #:use-module (skribilo reader) + #:use-module (skribilo evaluator) + #:use-module (skribilo package base) + #:use-module (skribilo location) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-64) + #:use-module (ice-9 match)) (cond-expand (guile-2 (begin)) (else (use-modules (ice-9 syncase)))) diff --git a/tests/readers/rss-2.test b/tests/readers/rss-2.test index e3a3b97..954ccff 100644 --- a/tests/readers/rss-2.test +++ b/tests/readers/rss-2.test @@ -18,9 +18,9 @@ ;;; along with this program. If not, see <http://www.gnu.org/licenses/>. (define-module (tests rss-2) - :use-module (ice-9 match) - :use-module (skribilo reader) - :use-module (srfi srfi-64)) + #:use-module (ice-9 match) + #:use-module (skribilo reader) + #:use-module (srfi srfi-64)) (cond-expand (guile-2 (begin)) (else (use-modules (ice-9 syncase)))) diff --git a/tests/resolve.test b/tests/resolve.test index 282a8b8..1241aab 100644 --- a/tests/resolve.test +++ b/tests/resolve.test @@ -18,11 +18,11 @@ ;;; along with this program. If not, see <http://www.gnu.org/licenses/>. (define-module (tests resolve) - :use-module (skribilo ast) - :use-module (skribilo engine) - :use-module (skribilo resolve) - :use-module (skribilo package base) - :use-module (srfi srfi-64)) + #:use-module (skribilo ast) + #:use-module (skribilo engine) + #:use-module (skribilo resolve) + #:use-module (skribilo package base) + #:use-module (srfi srfi-64)) (define %engine (find-engine 'base)) |