test/compatibility/brackets.tst
author ali <ali@juiblex.co.uk>
Thu Oct 03 16:09:39 2013 +0100 (2013-10-03)
changeset 97 c45fa3843618
permissions -rw-r--r--
Fix bug #20: Accept Unicode emdash as valid end-of-paragraph punctuation
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@15
    17
**************** EXPECTED ****************
ali@15
    18
ali@15
    19
This (excellent paragraph has one more {opening} paranthesis than closing.
ali@15
    20
    Line 2 - Mismatched round brackets?
ali@15
    21
ali@15
    22
On the other hand, this poor) paragraph does it backwards.
ali@15
    23
    Line 4 - Mismatched round brackets?
ali@15
    24
ali@15
    25
This {slightly odd paragraph has one more [opening] brace than closing.
ali@15
    26
    Line 6 - Mismatched curly brackets?
ali@15
    27
ali@15
    28
And again, this balmy} paragraph does it backwards.
ali@15
    29
    Line 8 - Mismatched curly brackets?
ali@15
    30
ali@15
    31
This paragraph[11 has one more (opening) bracket than closing.
ali@15
    32
    Line 10 - Mismatched square brackets?
ali@15
    33
ali@15
    34
Whereas this one is 12]tupsy turvey.
ali@15
    35
    Line 12 - Mismatched square brackets?
ali@15
    36
ali@15
    37
This _very_ important_ paragraph has an odd number of underscores.
ali@15
    38
    Line 14 - Mismatched underscores?
ali@15
    39
ali@15
    40
Unspaced brackets are a[most a]ways _wrong_.
ali@15
    41
    Line 15 column 23 - Unspaced bracket?
ali@15
    42
ali@15
    43
Unspaced brackets are a[most a]ways _wrong_.
ali@15
    44
    Line 15 column 30 - Unspaced bracket?