diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-04-20 17:23:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-20 17:23:34 -0700 |
commit | 6d7a62d74d4638f0e8ae026ad650269960201815 (patch) | |
tree | 96d47afa0c3ddf4fa94dfbc5bdcf37a242206ac5 /t/t4018/scheme-define-syntax | |
parent | The eleventh (aka "ort") batch (diff) | |
parent | userdiff: add support for Scheme (diff) | |
download | tgif-6d7a62d74d4638f0e8ae026ad650269960201815.tar.xz |
Merge branch 'ar/userdiff-scheme'
Userdiff patterns for "Scheme" has been added.
* ar/userdiff-scheme:
userdiff: add support for Scheme
Diffstat (limited to 't/t4018/scheme-define-syntax')
-rw-r--r-- | t/t4018/scheme-define-syntax | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t4018/scheme-define-syntax b/t/t4018/scheme-define-syntax new file mode 100644 index 0000000000..7d5e99e0fc --- /dev/null +++ b/t/t4018/scheme-define-syntax @@ -0,0 +1,8 @@ +(define-syntax define-test-suite RIGHT + (syntax-rules () + ((_ suite-name (name test) ChangeMe ...) + (define suite-name + (let ((tests + `((name . ,test) ...))) + (lambda () + (run-suite 'suite-name tests))))))) |