From 72ee7460b2a43f617cb8def9d99123c3ebf7da31 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Fri, 7 Dec 2018 03:55:05 +0000 Subject: [PATCH] Confirm #i works with inf and nan. --- tests/runtime/test-readwrite.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/runtime/test-readwrite.scm b/tests/runtime/test-readwrite.scm index 17a41687d..2bad4a20f 100644 --- a/tests/runtime/test-readwrite.scm +++ b/tests/runtime/test-readwrite.scm @@ -174,7 +174,11 @@ USA. (define-enumerated-test 'read `(("+nan.0" ,assert-nan) - ("-nan.0" ,assert-nan)) + ("-nan.0" ,assert-nan) + ("#i+nan.0" ,assert-nan) + ("#i-nan.0" ,assert-nan) + ("#i+inf.0" ,assert-inf+) + ("#i-inf.0" ,assert-inf-)) (lambda (string assertion #!optional xfail) (with-expected-failure xfail (lambda () -- 2.25.1