mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 14:21:10 +02:00
("format basic output"): Added test for "~F" from Matthias Koeppe.
This commit is contained in:
parent
b713b0b685
commit
6c61859f03
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
;;;; format.test --- test suite for Guile's CL-ish format -*- scheme -*-
|
;;;; format.test --- test suite for Guile's CL-ish format -*- scheme -*-
|
||||||
;;;; Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de> --- June 2001
|
;;;; 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
|
;;;; 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
|
;;;; it under the terms of the GNU General Public License as published by
|
||||||
|
@ -36,4 +36,6 @@
|
||||||
(format #t "~&abc")
|
(format #t "~&abc")
|
||||||
(format #f "~&") ; shall have no effect
|
(format #f "~&") ; shall have no effect
|
||||||
(format #t "~&~&")))
|
(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)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue