diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-02-02 11:51:06 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-02-02 11:51:06 -0800 |
commit | 0f6603d5716d285a89a66d88200830c26917e89d (patch) | |
tree | d8d0f226e9aebc53fb97615af19280d6c1eed171 /tests/010/align-columns.dat | |
parent | 0d3fc60bfb0d85e4c79550caec0f65976a9692f4 (diff) | |
download | txr-0f6603d5716d285a89a66d88200830c26917e89d.tar.gz txr-0f6603d5716d285a89a66d88200830c26917e89d.tar.bz2 txr-0f6603d5716d285a89a66d88200830c26917e89d.zip |
This test case would have caught the prior regression.
* Makefile (TXR_ARGS): Defined for new test case.
* tests/010/align-columns.dat: New file.
* tests/010/align-columns.expected: New file.
* tests/010/align-columns.txr: New file.
Diffstat (limited to 'tests/010/align-columns.dat')
-rw-r--r-- | tests/010/align-columns.dat | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/010/align-columns.dat b/tests/010/align-columns.dat new file mode 100644 index 00000000..3c722207 --- /dev/null +++ b/tests/010/align-columns.dat @@ -0,0 +1,6 @@ +Given$a$text$file$of$many$lines,$where$fields$within$a$line$ +are$delineated$by$a$single$'dollar'$character,$write$a$program +that$aligns$each$column$of$fields$by$ensuring$that$words$in$each$ +column$are$separated$by$at$least$one$space. +Further,$allow$for$each$word$in$a$column$to$be$either$left$ +justified,$right$justified,$or$center$justified$within$its$column. |