Add (anything) to tests that match... anything

This commit is contained in:
2025-09-11 12:16:13 -05:00
parent 96d406d98b
commit c6332cd371
2 changed files with 22 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
(use-modules (d-)
(d- test)
(d- json)
(srfi srfi-1))
(srfi srfi-1)
(d- test))
(define-test-suite "~>"
(define-test "unwrapped"
@@ -116,6 +116,10 @@
(list betty ethel joan kitty mary)))
(assert-equal '(3 5 2 1 4) (liars))))
(define-test-suite "test"
(define-test "anything"
(assert-equal `(dog ,(anything)) '(dog cat))))
(define-test-suite "json"
(define-test "boolean"
(assert-equal #t (json "true"))