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/gauche.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/gauche.scm')
-rw-r--r-- | test/gauche.scm | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/test/gauche.scm b/test/gauche.scm index 1388b1e..929ea6a 100644 --- a/test/gauche.scm +++ b/test/gauche.scm @@ -1,21 +1,8 @@ (import (scheme base) - (prefix (gauche test) g:)) + (srfi 64)) (import (zambyte meta json)) -(define-syntax test - (syntax-rules () - ((_ name expected actual) - (g:test name expected (lambda () actual) equal?)))) - -(define-syntax test-assert - (syntax-rules () - ((_ name expr) - (g:test name #t (lambda () expr) eq?)))) - -(define-syntax test-not - (syntax-rules () - ((_ name expr) - (g:test name #f (lambda () expr) eq?)))) - +(test-begin "gauche") (include "run.scm") +(test-end "gauche") |