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