From 4bf030c877bbdc64fb36e3ff3f759405b6a1baef Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Fri, 7 Dec 2018 15:45:43 +0000 Subject: [PATCH] string->number returns false on error. --- tests/runtime/test-numpar.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtime/test-numpar.scm b/tests/runtime/test-numpar.scm index aa3bc16f5..ce35dc0b4 100644 --- a/tests/runtime/test-numpar.scm +++ b/tests/runtime/test-numpar.scm @@ -45,7 +45,7 @@ USA. (lambda () (with-xfail xfail (lambda () - (assert-error (lambda () (string->number s)))))))) + (assert-false (string->number s))))))) (define (eqv-nan? x y) (if (and (flo:flonum? x) (flo:nan? x)) -- 2.25.1