fukamachi / prove

Yet another unit testing framework for Common Lisp
218 stars 23 forks source link

is-print shows empty lines #15

Open bhase opened 9 years ago

bhase commented 9 years ago

Hi,

I noticed is-print shows empty lines when testing strings with embedded line breaks. Example:

(is-print (format t "Hello~%World!")
"Hello
World!")

I would expect that this simply shows a green tick but it puts an empty line before. Is this desired? I am testing multi-line output and this is distracting as for every line an empty on is shown in output.

Regards, Benjamin

fukamachi commented 9 years ago

I couldn't reproduce it. What version of Quicklisp dist do you use?

Give me the result of (ql-dist:dist "quicklisp") and (ql:where-is-system "prove").

bhase commented 9 years ago
  i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
  I I I I I I I      8     8   8           8     8     o  8    8
  I  \ `+' /  I      8         8           8     8        8    8
   \  `-+-'  /       8         8           8      ooooo   8oooo
    `-__|__-'        8         8           8           8  8
        |            8     o   8           8     o     8  8
  ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8

Welcome to GNU CLISP 2.49+ (2010-07-17) <http://clisp.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2010

Type :h and hit Enter for context help.

;; Datei /home/benjo/.clisprc.lisp wird geladen...
;;  Datei /home/benjo/quicklisp/setup.lisp wird geladen...
;;  Datei /home/benjo/quicklisp/setup.lisp ist geladen.
;; Datei /home/benjo/.clisprc.lisp ist geladen.
[1]> (ql-dist:dist "quicklisp")
#<QL-DIST:DIST quicklisp 2015-06-08>
[2]> (ql:where-is-system "prove")
;; Datei /home/benjo/quicklisp/dists/quicklisp/software/prove-20150113-git/prove.asd wird geladen...
;; Datei /home/benjo/quicklisp/dists/quicklisp/software/prove-20150113-git/prove.asd ist geladen.
#P"/home/benjo/quicklisp/dists/quicklisp/software/prove-20150113-git/"
[3]>