summaryrefslogtreecommitdiff
path: root/t/t4018/scheme-define-syntax
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-04-20 17:23:34 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-20 17:23:34 -0700
commit6d7a62d74d4638f0e8ae026ad650269960201815 (patch)
tree96d47afa0c3ddf4fa94dfbc5bdcf37a242206ac5 /t/t4018/scheme-define-syntax
parentThe eleventh (aka "ort") batch (diff)
parentuserdiff: add support for Scheme (diff)
downloadtgif-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-syntax8
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)))))))