1.1 --- a/test/compatibility/Makefile.am Tue Jan 31 19:20:36 2012 +0000
1.2 +++ b/test/compatibility/Makefile.am Thu Feb 02 09:06:37 2012 +0000
1.3 @@ -3,6 +3,6 @@
1.4 spaced-doublequote.tst mismatched-quotes.tst he-be.tst digits.tst \
1.5 extra-period.tst ellipsis.tst short-line.tst abbreviation.tst \
1.6 example.tst non-ascii.tst embedded-lf.tst markup.tst \
1.7 - user-defined-typo.tst
1.8 + user-defined-typo.tst brackets.tst
1.9
1.10 dist_pkgdata_DATA=$(TESTS)
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/test/compatibility/brackets.tst Thu Feb 02 09:06:37 2012 +0000
2.3 @@ -0,0 +1,44 @@
2.4 +**************** INPUT ****************
2.5 +This (excellent paragraph has one more {opening} paranthesis than closing.
2.6 +
2.7 +On the other hand, this poor) paragraph does it backwards.
2.8 +
2.9 +This {slightly odd paragraph has one more [opening] brace than closing.
2.10 +
2.11 +And again, this balmy} paragraph does it backwards.
2.12 +
2.13 +This paragraph[11 has one more (opening) bracket than closing.
2.14 +
2.15 +Whereas this one is 12]tupsy turvey.
2.16 +
2.17 +This _very_ important_ paragraph has an odd number of underscores.
2.18 +
2.19 +Unspaced brackets are a[most a]ways _wrong_.
2.20 +**************** EXPECTED ****************
2.21 +
2.22 +This (excellent paragraph has one more {opening} paranthesis than closing.
2.23 + Line 2 - Mismatched round brackets?
2.24 +
2.25 +On the other hand, this poor) paragraph does it backwards.
2.26 + Line 4 - Mismatched round brackets?
2.27 +
2.28 +This {slightly odd paragraph has one more [opening] brace than closing.
2.29 + Line 6 - Mismatched curly brackets?
2.30 +
2.31 +And again, this balmy} paragraph does it backwards.
2.32 + Line 8 - Mismatched curly brackets?
2.33 +
2.34 +This paragraph[11 has one more (opening) bracket than closing.
2.35 + Line 10 - Mismatched square brackets?
2.36 +
2.37 +Whereas this one is 12]tupsy turvey.
2.38 + Line 12 - Mismatched square brackets?
2.39 +
2.40 +This _very_ important_ paragraph has an odd number of underscores.
2.41 + Line 14 - Mismatched underscores?
2.42 +
2.43 +Unspaced brackets are a[most a]ways _wrong_.
2.44 + Line 15 column 23 - Unspaced bracket?
2.45 +
2.46 +Unspaced brackets are a[most a]ways _wrong_.
2.47 + Line 15 column 30 - Unspaced bracket?