1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

("format basic output"): Added test for "~F" from Matthias Koeppe.

This commit is contained in:
Marius Vollmer 2003-03-19 18:28:52 +00:00
parent b713b0b685
commit 6c61859f03

View file

@ -1,7 +1,7 @@
;;;; format.test --- test suite for Guile's CL-ish format -*- scheme -*-
;;;; Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de> --- June 2001
;;;;
;;;; Copyright (C) 2001 Free Software Foundation, Inc.
;;;; Copyright (C) 2001, 2003 Free Software Foundation, Inc.
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
@ -36,4 +36,6 @@
(format #t "~&abc")
(format #f "~&") ; shall have no effect
(format #t "~&~&")))
"xyz\nabc\n")))
"xyz\nabc\n"))
(pass-if "format ~F (format-out-substr) maintains the column correctly"
(= (string-length (format "~@F~20T" 1)) 20)))