tests/padding.t @ 2693d5c857a5
v1.1.0
Remove extra padding in task files to aid in merging.
author |
Steve Losh <steve@dwaiter.com> |
date |
Sun, 03 Oct 2010 18:47:03 -0400 |
parents |
a882490073a1 |
children |
831123b0359f |
Setup:
$ alias xt="python $TESTDIR/../t.py --task-dir `pwd` --list test"
Add tasks of varying width:
$ xt Short.
$ xt Longcat is long.
Test paddings:
$ xt
4 - Longcat is long.
5 - Short.
$ cat test
Longcat is long. | id:4c623ab4df5cc1a10d32558768c2c21bddf2c053
Short. | id:5a7a65db2caa6313a70ceb75b1bd806f7879f6b7
$ cat >> test << EOF
> Long one. | id: long1
> Very long two. | id: long2
> EOF
$ xt -f 5
$ xt
4 - Longcat is long.
long1 - Long one.
long2 - Very long two.
$ cat test
Longcat is long. | id:4c623ab4df5cc1a10d32558768c2c21bddf2c053
Long one. | id:long1
Very long two. | id:long2