summaryrefslogtreecommitdiffstats
path: root/tests/017
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-18 07:53:01 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-18 07:53:01 -0700
commite3f1adc4014641223ab3f5697e550439e10ddca8 (patch)
tree999a62b88036ebcc9d54998c76727d304bb7a1d1 /tests/017
parent40eb2f8504fdeb90972cdf8fae57fc39a8960969 (diff)
downloadtxr-e3f1adc4014641223ab3f5697e550439e10ddca8.tar.gz
txr-e3f1adc4014641223ab3f5697e550439e10ddca8.tar.bz2
txr-e3f1adc4014641223ab3f5697e550439e10ddca8.zip
ffi: fix broken test.
* tests/017/ffi-misc.tl: Fix incorrect test whose loop body does not execute. A remaining issue here is why the diagnostics about unbound functions and variables in the loop body get swept under the rug.
Diffstat (limited to 'tests/017')
-rw-r--r--tests/017/ffi-misc.tl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/017/ffi-misc.tl b/tests/017/ffi-misc.tl
index d0785513..6e41f482 100644
--- a/tests/017/ffi-misc.tl
+++ b/tests/017/ffi-misc.tl
@@ -80,9 +80,9 @@
(sizeof abc) 1
(znew abc) #S(abc a fals b fals c fals))
-(each-match ((a b c) (rperm '(fals true) 3))
+(each-match ((@a @b @c) (rperm '(fals true) 3))
(let ((s (new abc a a b b c c)))
- (test (ffi-get (ffi-put s (ffi abc)) (ffi-abc)) s)))
+ (vtest (ffi-get (ffi-put s (ffi abc)) (ffi abc)) s)))
(mstest
(copy-cptr (cptr-int 3)) "#<cptr: 3>"