From 6d101c9472dbde58001d29d9b5c063e18c285959 Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Tue, 30 Oct 2012 11:07:46 -0600 Subject: [PATCH] add a test for the patch --- collects/tests/racket/format.rkt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/collects/tests/racket/format.rkt b/collects/tests/racket/format.rkt index a48a1fc550..978e3e52ff 100644 --- a/collects/tests/racket/format.rkt +++ b/collects/tests/racket/format.rkt @@ -268,3 +268,8 @@ (tc (~r 3735928559 #:base '(up 16) #:precision 6 #:notation 'exponential) ;; note rounding! "D.EADBEFĂ—16^+07") + +(tc (~r 33.99508664763296 #:precision 1 #:min-width 5) + " 33.1") +(tc (~r 33.99508664763296 #:precision 2 #:min-width 7) + " 33.1")