mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-15 11:20:41 +01:00
74 lines
4.3 KiB
Plaintext
74 lines
4.3 KiB
Plaintext
|
:DESC
|
||
|
Test that the line terminator can be forced to LF in the design details output.
|
||
|
|
||
|
:ENV
|
||
|
export BOXES_TEST_XXD=1
|
||
|
:ARGS
|
||
|
-f ../boxes-config -l -d c -e lf
|
||
|
:INPUT
|
||
|
:OUTPUT-FILTER
|
||
|
s/^.*([0-9a-fA-F]{4}):/0000\1:/
|
||
|
:EXPECTED
|
||
|
00000000: 436f 6d70 6c65 7465 2044 6573 6967 6e20 Complete Design
|
||
|
00000010: 496e 666f 726d 6174 696f 6e20 666f 7220 Information for
|
||
|
00000020: 2263 223a 0a2d 2d2d 2d2d 2d2d 2d2d 2d2d "c":.-----------
|
||
|
00000030: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
|
||
|
00000040: 2d2d 2d2d 2d2d 2d2d 2d0a 416c 6961 7320 ---------.Alias
|
||
|
00000050: 4e61 6d65 733a 2020 2020 2020 2020 2020 Names:
|
||
|
00000060: 2020 6e6f 6e65 0a41 7574 686f 723a 2020 none.Author:
|
||
|
00000070: 2020 2020 2020 2020 2020 2020 2020 2054 T
|
||
|
00000080: 686f 6d61 7320 4a65 6e73 656e 0a4f 7269 homas Jensen.Ori
|
||
|
00000090: 6769 6e61 6c20 4465 7369 676e 6572 3a20 ginal Designer:
|
||
|
000000a0: 2020 2020 2028 7075 626c 6963 2064 6f6d (public dom
|
||
|
000000b0: 6169 6e29 0a43 7265 6174 696f 6e20 4461 ain).Creation Da
|
||
|
000000c0: 7465 3a20 2020 2020 2020 2020 204d 6172 te: Mar
|
||
|
000000d0: 6368 2031 382c 2031 3939 3920 2854 6875 ch 18, 1999 (Thu
|
||
|
000000e0: 7273 6461 792c 2031 353a 3235 6829 0a43 rsday, 15:25h).C
|
||
|
000000f0: 7572 7265 6e74 2052 6576 6973 696f 6e3a urrent Revision:
|
||
|
00000100: 2020 2020 2020 2031 2e30 2061 7320 6f66 1.0 as of
|
||
|
00000110: 204d 6172 6368 2031 382c 2031 3939 3920 March 18, 1999
|
||
|
00000120: 2854 6875 7273 6461 792c 2031 353a 3235 (Thursday, 15:25
|
||
|
00000130: 6829 0a43 6f6e 6669 6775 7261 7469 6f6e h).Configuration
|
||
|
00000140: 2046 696c 653a 2020 2020 202e 2e2f 626f File: ../bo
|
||
|
00000150: 7865 732d 636f 6e66 6967 0a49 6e64 656e xes-config.Inden
|
||
|
00000160: 7461 7469 6f6e 204d 6f64 653a 2020 2020 tation Mode:
|
||
|
00000170: 2020 2062 6f78 2028 696e 6465 6e74 2062 box (indent b
|
||
|
00000180: 6f78 290a 5265 706c 6163 656d 656e 7420 ox).Replacement
|
||
|
00000190: 5275 6c65 733a 2020 2020 2020 312e 2028 Rules: 1. (
|
||
|
000001a0: 676c 6f62 2920 225c 2a2f 2220 5749 5448 glob) "\*/" WITH
|
||
|
000001b0: 2022 2a5c 5c2f 220a 5265 7665 7273 696f "*\\/".Reversio
|
||
|
000001c0: 6e20 5275 6c65 733a 2020 2020 2020 2020 n Rules:
|
||
|
000001d0: 312e 2028 676c 6f62 2920 225c 2a5c 5c2f 1. (glob) "\*\\/
|
||
|
000001e0: 2220 544f 2022 2a2f 220a 4d69 6e69 6d75 " TO "*/".Minimu
|
||
|
000001f0: 6d20 426f 7820 4469 6d65 6e73 696f 6e73 m Box Dimensions
|
||
|
00000200: 3a20 3520 7820 3320 2028 7769 6474 6820 : 5 x 3 (width
|
||
|
00000210: 7820 6865 6967 6874 290a 4465 6661 756c x height).Defaul
|
||
|
00000220: 7420 5061 6464 696e 673a 2020 2020 2020 t Padding:
|
||
|
00000230: 2020 6c65 6674 2031 2c20 7269 6768 7420 left 1, right
|
||
|
00000240: 310a 4465 6661 756c 7420 4b69 6c6c 626c 1.Default Killbl
|
||
|
00000250: 616e 6b3a 2020 2020 2020 7965 730a 5461 ank: yes.Ta
|
||
|
00000260: 6773 3a20 2020 2020 2020 2020 2020 2020 gs:
|
||
|
00000270: 2020 2020 2020 7369 6d70 6c65 2c20 7072 simple, pr
|
||
|
00000280: 6f67 7261 6d6d 696e 672c 2062 6f78 0a45 ogramming, box.E
|
||
|
00000290: 6c61 7374 6963 2053 6861 7065 733a 2020 lastic Shapes:
|
||
|
000002a0: 2020 2020 2020 204e 2c20 452c 2053 2c20 N, E, S,
|
||
|
000002b0: 570a 4465 6669 6e65 6420 5368 6170 6573 W.Defined Shapes
|
||
|
000002c0: 3a20 2020 2020 2020 2020 204e 573a 2022 : NW: "
|
||
|
000002d0: 2f2a 2220 0a20 2020 2020 2020 2020 2020 /*" .
|
||
|
000002e0: 2020 2020 2020 2020 2020 2020 2020 204e N
|
||
|
000002f0: 3a20 222a 2220 0a20 2020 2020 2020 2020 : "*" .
|
||
|
00000300: 2020 2020 2020 2020 2020 2020 2020 2020
|
||
|
00000310: 4e45 3a20 222a 2f22 200a 2020 2020 2020 NE: "*/" .
|
||
|
00000320: 2020 2020 2020 2020 2020 2020 2020 2020
|
||
|
00000330: 2020 2020 453a 2022 2a2f 2220 0a20 2020 E: "*/" .
|
||
|
00000340: 2020 2020 2020 2020 2020 2020 2020 2020
|
||
|
00000350: 2020 2020 2020 5345 3a20 222a 2f22 200a SE: "*/" .
|
||
|
00000360: 2020 2020 2020 2020 2020 2020 2020 2020
|
||
|
00000370: 2020 2020 2020 2020 2020 533a 2022 2a22 S: "*"
|
||
|
00000380: 200a 2020 2020 2020 2020 2020 2020 2020 .
|
||
|
00000390: 2020 2020 2020 2020 2020 2053 573a 2022 SW: "
|
||
|
000003a0: 2f2a 2220 0a20 2020 2020 2020 2020 2020 /*" .
|
||
|
000003b0: 2020 2020 2020 2020 2020 2020 2020 2057 W
|
||
|
000003c0: 3a20 222f 2a22 200a : "/*" .
|
||
|
:EOF
|