diff options
author | Robby Zambito <contact@robbyzambito.me> | 2023-02-14 20:33:23 -0500 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2023-02-14 20:33:23 -0500 |
commit | 0b17e637d3791d1ca94558429f9deba3a5876166 (patch) | |
tree | 898b7b97fe7d5d3b4c6f3c7a8e1658325e8ab112 /test/gerbil.scm | |
parent | c72a7be021a04a2c13204d77141ee759ce2500e5 (diff) |
Use assoc symbols for keys instead of strings for objects.
Update the test suite to be more compatible with SRFI 64.
Diffstat (limited to 'test/gerbil.scm')
-rw-r--r-- | test/gerbil.scm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/gerbil.scm b/test/gerbil.scm index ca730d0..bfd0ddb 100644 --- a/test/gerbil.scm +++ b/test/gerbil.scm @@ -3,19 +3,20 @@ (import (zambyte meta json)) -(define-syntax test +(define-syntax test-equal (syntax-rules () ((_ name expected actual) - (test-case name (check-output actual expected))))) + (test-case name (check-equal? actual expected))))) (define-syntax test-assert (syntax-rules () ((_ name actual) (test-case name (check-predicate actual values))))) -(define-syntax test-not - (syntax-rules () - ((_ name actual) - (test-case name (check-predicate actual not))))) +(define suite + (test-suite + "gerbil" + (include "run.scm"))) + +(run-test-suite! suite) -(include "run.scm") |