diff options
| author | 2024-12-31 13:04:43 -0500 | |
|---|---|---|
| committer | 2024-12-31 13:04:43 -0500 | |
| commit | 2ff4637b88368a5119a02c94ff4cec7015723404 (patch) | |
| tree | cd0e47c7ec5c1fa3d87deb64d18d2df0be687e85 /tests | |
| parent | documentation (diff) | |
fix length=>
Diffstat (limited to '')
| -rw-r--r-- | tests/values.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/values.scm b/tests/values.scm index cafa8b0..ef14907 100644 --- a/tests/values.scm +++ b/tests/values.scm @@ -108,6 +108,17 @@ (test-assert "length-at-least=> 3.4" (equal? rest '(4)))) (else (error "length-at-least=> 3" #f))) +(test "length=> 1" + '(1 2 3 4) + (cond-values + (after ((let (length=> '(1 2 3 4) 5) => _)) + 5) + (after ((let (length=> '(1 2 3 4) 3) => _)) + 3) + (after ((let (length=> '(1 2 3 4) 4) => (a b c d))) + (list a b c d)) + (else 'else))) + (test "on-fail 1" 5 (cond-thunk |
