From: Chris Hanson Date: Wed, 2 Jun 2010 08:39:21 +0000 (-0700) Subject: Change MAKE-RANDOM-SVL to generate empty ranges. X-Git-Tag: 20100708-Gtk~25 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=56d147c948575a147ddfb75dd49f40ddf9db7cf4;p=mit-scheme.git Change MAKE-RANDOM-SVL to generate empty ranges. --- diff --git a/tests/runtime/test-char-set.scm b/tests/runtime/test-char-set.scm index 97f50fde6..e4fb1a581 100644 --- a/tests/runtime/test-char-set.scm +++ b/tests/runtime/test-char-set.scm @@ -69,7 +69,7 @@ USA. (let loop () (let ((n (random (- char-code-limit modulus)))) (let ((m (random modulus))) - (if (= m 0) + (if (= m 1) n (cons n (+ n m))))))))))