test/compatibility/brackets.tst
changeset 215 c98e93d9a07f
parent 15 c4b472e1fc9a
     1.1 --- a/test/compatibility/brackets.tst	Thu Feb 02 09:06:37 2012 +0000
     1.2 +++ b/test/compatibility/brackets.tst	Sat Nov 02 09:05:10 2013 +0000
     1.3 @@ -14,31 +14,46 @@
     1.4  This _very_ important_ paragraph has an odd number of underscores.
     1.5  
     1.6  Unspaced brackets are a[most a]ways _wrong_.
     1.7 -**************** EXPECTED ****************
     1.8 -
     1.9 -This (excellent paragraph has one more {opening} paranthesis than closing.
    1.10 -    Line 2 - Mismatched round brackets?
    1.11 -
    1.12 -On the other hand, this poor) paragraph does it backwards.
    1.13 -    Line 4 - Mismatched round brackets?
    1.14 -
    1.15 -This {slightly odd paragraph has one more [opening] brace than closing.
    1.16 -    Line 6 - Mismatched curly brackets?
    1.17 -
    1.18 -And again, this balmy} paragraph does it backwards.
    1.19 -    Line 8 - Mismatched curly brackets?
    1.20 -
    1.21 -This paragraph[11 has one more (opening) bracket than closing.
    1.22 -    Line 10 - Mismatched square brackets?
    1.23 -
    1.24 -Whereas this one is 12]tupsy turvey.
    1.25 -    Line 12 - Mismatched square brackets?
    1.26 -
    1.27 -This _very_ important_ paragraph has an odd number of underscores.
    1.28 -    Line 14 - Mismatched underscores?
    1.29 -
    1.30 -Unspaced brackets are a[most a]ways _wrong_.
    1.31 -    Line 15 column 23 - Unspaced bracket?
    1.32 -
    1.33 -Unspaced brackets are a[most a]ways _wrong_.
    1.34 -    Line 15 column 30 - Unspaced bracket?
    1.35 +**************** WARNINGS ****************
    1.36 +<expected>
    1.37 +  <error>
    1.38 +    <at line="2"/>
    1.39 +    <text>Mismatched round brackets?</text>
    1.40 +  </error>
    1.41 +  <error>
    1.42 +    <at line="4"/>
    1.43 +    <text>Mismatched round brackets?</text>
    1.44 +  </error>
    1.45 +  <error>
    1.46 +    <at line="6"/>
    1.47 +    <text>Mismatched curly brackets?</text>
    1.48 +  </error>
    1.49 +  <error>
    1.50 +    <at line="8"/>
    1.51 +    <text>Mismatched curly brackets?</text>
    1.52 +  </error>
    1.53 +  <error>
    1.54 +    <at line="10"/>
    1.55 +    <text>Mismatched square brackets?</text>
    1.56 +  </error>
    1.57 +  <error>
    1.58 +    <at line="12"/>
    1.59 +    <text>Mismatched square brackets?</text>
    1.60 +  </error>
    1.61 +  <false-negative>
    1.62 +    <at line="13" column="22"/>
    1.63 +    <text>Missing space or underscore?</text>
    1.64 +  </false-negative>
    1.65 +  <error>
    1.66 +    <at line="14"/>
    1.67 +    <text>Mismatched underscores?</text>
    1.68 +  </error>
    1.69 +  <error>
    1.70 +    <at line="15" column="23"/>
    1.71 +    <text>Unspaced bracket?</text>
    1.72 +  </error>
    1.73 +  <error>
    1.74 +    <at line="15" column="30"/>
    1.75 +    <text>Unspaced bracket?</text>
    1.76 +  </error>
    1.77 +</expected>