boxes/test/169_peek_escape_comments.txt

20 lines
358 B
Plaintext
Raw Normal View History

: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