| 1 | # Tests for #360: contractions followed by punctuation. |
| 2 | display: tables/unicode.dis |
| 3 | table: | |
| 4 | letter a 1 |
| 5 | letter b 12 |
| 6 | letter d 145 |
| 7 | letter e 15 |
| 8 | letter i 24 |
| 9 | letter s 234 |
| 10 | letter t 2345 |
| 11 | letter u 136 |
| 12 | punctuation , 2 |
| 13 | punctuation . 256 |
| 14 | word but 12 |
| 15 | begword dis 256 |
| 16 | midword ea 2 |
| 17 | |
| 18 | flags: {testmode: backward} |
| 19 | tests: |
| 20 | # Words followed by punctuation. Begword/midword should not apply. |
| 21 | # Punctuation which also has begword rule: |
| 22 | - [⠃⠲, "but."] |
| 23 | # Punctuation which also has midword rule: |
| 24 | - [⠃⠂, "but,"] |
| 25 | |
| 26 | # Make sure begword and midword apply as and when they should. |
| 27 | # Begword: |
| 28 | - [⠲⠁, "disa"] |
| 29 | # Midword: |
| 30 | - [⠃⠂⠙, "bead"] |