X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Foutput%2Frender.at;h=230299223f349bb62738cbf2cac6ae34daa8043a;hb=refs%2Fbuilds%2F20130905032709%2Fpspp;hp=9821348adb62610ed5c77b22f4d20ff50ca04e48;hpb=fe8dc2171009e90d2335f159d05f7e6660e24780;p=pspp diff --git a/tests/output/render.at b/tests/output/render.at index 9821348adb..230299223f 100644 --- a/tests/output/render.at +++ b/tests/output/render.at @@ -1725,12 +1725,11 @@ AT_CHECK([render-test --width=15 --length=15 input], [0], [dnl +-+--+--+---+ |h| The | | su -| | determ -+-+ han -|i|missing va -| | If IN -| | s -+-+ user ++-+ determ +|i| han +| |missing va +| |If INCLUDE ++-+ then user |j| va | | include | | calculati @@ -1739,14 +1738,14 @@ AT_CHECK([render-test --width=15 --length=15 input], [0], [dnl +-+ NOINCLUDE |k| whic | | -+-+ user -|l| va -| | e +| | user ++-+ va +|l| e +| | | | +-+ |m| | | -| | +-+---------- +--+--+--+ @@ -1757,8 +1756,7 @@ ubcommand| mines the| ndling of| ariables.| -NCLUDE is| -set, then| +E is set,| r‑missing| alues are| ed in the| @@ -1804,3 +1802,32 @@ x y z 7 8 9 ]) AT_CLEANUP + +# Long string variables tend to end in lots of spaces. The ASCII +# driver didn't handle this very well: it would essentially produce +# one blank line in a cell for each trailing space. This test +# checks for regression. See bug #38672. +AT_SETUP([ASCII driver renders end of line spaces reasonably]) +AT_KEYWORDS([render rendering]) +AT_DATA([input], [dnl +3 3 +@a +@b +@xyzzy @&t@ +@d +@e +@f +@g +@h +@i +]) +AT_CHECK([render-test --width=15 --length=15 input], [0], [dnl ++-+-+-----+ +|a|b|xyzzy| ++-+-+-----+ +|d|e| f| ++-+-+-----+ +|g|h| i| ++-+-+-----+ +]) +AT_CLEANUP