test/compatibility/brackets.tst
author ali <ali@juiblex.co.uk>
Wed Oct 30 17:11:11 2013 +0000 (2013-10-30)
changeset 211 7f0bbee5c8b0
parent 15 c4b472e1fc9a
permissions -rw-r--r--
Fix bug #26: Partially emphasized words
     1 **************** INPUT ****************
     2 This (excellent paragraph has one more {opening} paranthesis than closing.
     3 
     4 On the other hand, this poor) paragraph does it backwards.
     5 
     6 This {slightly odd paragraph has one more [opening] brace than closing.
     7 
     8 And again, this balmy} paragraph does it backwards.
     9 
    10 This paragraph[11 has one more (opening) bracket than closing.
    11 
    12 Whereas this one is 12]tupsy turvey.
    13 
    14 This _very_ important_ paragraph has an odd number of underscores.
    15 
    16 Unspaced brackets are a[most a]ways _wrong_.
    17 **************** WARNINGS ****************
    18 <expected>
    19   <error>
    20     <at line="2"/>
    21     <text>Mismatched round brackets?</text>
    22   </error>
    23   <error>
    24     <at line="4"/>
    25     <text>Mismatched round brackets?</text>
    26   </error>
    27   <error>
    28     <at line="6"/>
    29     <text>Mismatched curly brackets?</text>
    30   </error>
    31   <error>
    32     <at line="8"/>
    33     <text>Mismatched curly brackets?</text>
    34   </error>
    35   <error>
    36     <at line="10"/>
    37     <text>Mismatched square brackets?</text>
    38   </error>
    39   <error>
    40     <at line="12"/>
    41     <text>Mismatched square brackets?</text>
    42   </error>
    43   <false-negative>
    44     <at line="13" column="22"/>
    45     <text>Missing space or underscore?</text>
    46   </false-negative>
    47   <error>
    48     <at line="14"/>
    49     <text>Mismatched underscores?</text>
    50   </error>
    51   <error>
    52     <at line="15" column="23"/>
    53     <text>Unspaced bracket?</text>
    54   </error>
    55   <error>
    56     <at line="15" column="30"/>
    57     <text>Unspaced bracket?</text>
    58   </error>
    59 </expected>