Commit 1d1edbc1 authored by Daniel Kochmański's avatar Daniel Kochmański

format-f: add new tests for corner case, where neither w nor d are set

Both CCL and ECL ignore k parameter, when w and d aren't set, for
instance:

(format t "~,,2F" 0.1) ; -> should return 10.0, but returns 0.1
Signed-off-by: default avatarDaniel Kochmański <daniel@turtleware.eu>
parent 6a029600
......@@ -552,3 +552,7 @@
;; Most implementations print .00
(def-format-test format.f.47
"~3f" (0.000001) "0.0")
;; CCL 1.10 and ECL 15.3.7 ignore k parameter when w and d aren't set
(def-format-test format.f.48
"~,,2f" (0.1) "10.0")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment