aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-09-21 23:57:14 -0400
committerGravatar Peter McGoron 2025-09-21 23:57:14 -0400
commit65156de526ff7b1e9dd93bba43084a2654f63b0f (patch)
treed3d5b550560aac6923739a6967dccc3538a25d49 /README.md
parentreplace with-test-assert with test-assert for better compat with SRFI-64 (diff)
test-application: add forms as they are evaluated, and only store the whole evaluated expression quoted
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 2 insertions, 9 deletions
diff --git a/README.md b/README.md
index 90d0bc5..0d2405a 100644
--- a/README.md
+++ b/README.md
@@ -133,8 +133,8 @@ Runs a test with `test-name` that evaluates `(expr ...)`.
The test will set (in addition to `call-as-test`):
-* `name`: To be the passed `expr` quoted.
-* `application`: A list `(expr ...)`, where each is evaluated.
+* `form`: To be `(expr ...)`, quoted.
+* `name ...`: To be the passed `expr ...` evaluated.
* `success?`: If `(expr ...)` evaluates to not false.
(with-test-assert test-name body ...)
@@ -161,14 +161,7 @@ Tests that
|X - Y| <= eps
-The test will set (in addition to `call-as-test`):
-* `procedure`: to be `%test-approximate` (this is an implementation detail).
-* `expected`: to be `X`, quoted.
-* `actual`: to be `Y`, quoted.
-* `error`: to be `eps`, quoted.
-* `application`: The `car` is `%test-approximate`, and the `cdr` is
- `expected`, `actual`, and `error,` evaluated.
(with-test-error name error-predicate body ...)