test/compatibility/brackets.tst
author ali <ali@juiblex.co.uk>
Sat Oct 05 21:37:31 2013 +0100 (2013-10-05)
changeset 99 783eff3047bc
permissions -rw-r--r--
Fix bug #21: False positive: Opening slanted double-quote, followed by single slanted quote, should be accepted by BL
     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 **************** EXPECTED ****************
    18 
    19 This (excellent paragraph has one more {opening} paranthesis than closing.
    20     Line 2 - Mismatched round brackets?
    21 
    22 On the other hand, this poor) paragraph does it backwards.
    23     Line 4 - Mismatched round brackets?
    24 
    25 This {slightly odd paragraph has one more [opening] brace than closing.
    26     Line 6 - Mismatched curly brackets?
    27 
    28 And again, this balmy} paragraph does it backwards.
    29     Line 8 - Mismatched curly brackets?
    30 
    31 This paragraph[11 has one more (opening) bracket than closing.
    32     Line 10 - Mismatched square brackets?
    33 
    34 Whereas this one is 12]tupsy turvey.
    35     Line 12 - Mismatched square brackets?
    36 
    37 This _very_ important_ paragraph has an odd number of underscores.
    38     Line 14 - Mismatched underscores?
    39 
    40 Unspaced brackets are a[most a]ways _wrong_.
    41     Line 15 column 23 - Unspaced bracket?
    42 
    43 Unspaced brackets are a[most a]ways _wrong_.
    44     Line 15 column 30 - Unspaced bracket?