mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-12 09:51:10 +01:00
6427d1efde
This also adds the ability to testrunner.sh to pipe the output through xxd for binary comparisons.
18 lines
310 B
Plaintext
18 lines
310 B
Plaintext
:DESC
|
|
Test that the line terminator can be forced to LF on box removal.
|
|
|
|
:ENV
|
|
export BOXES_TEST_XXD=1
|
|
:ARGS
|
|
-f ../boxes-config -d c -e lf -r
|
|
:INPUT
|
|
/*******/
|
|
/* foo */
|
|
/* bar */
|
|
/*******/
|
|
:OUTPUT-FILTER
|
|
s/^.*([0-9a-fA-F]{4}):/0000\1:/
|
|
:EXPECTED
|
|
00000000: 666f 6f0a 6261 720a foo.bar.
|
|
:EOF
|