mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-14 10:50:39 +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
|