mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-12 18:01:14 +01:00
20 lines
358 B
Plaintext
20 lines
358 B
Plaintext
|
:DESC
|
||
|
Tests that the 'peek' box design properly escapes closing comment tags.
|
||
|
|
||
|
:ARGS
|
||
|
-d peek -p h2
|
||
|
:INPUT
|
||
|
foo();
|
||
|
bar(); /* a comment */
|
||
|
baz();
|
||
|
:OUTPUT-FILTER
|
||
|
:EXPECTED
|
||
|
/* _\|/_
|
||
|
(o o)
|
||
|
+----oOO-{_}-OOo------------+
|
||
|
| foo(); |
|
||
|
| bar(); /* a comment *\/ |
|
||
|
| baz(); |
|
||
|
+--------------------------*/
|
||
|
:EOF
|