Debian Codegraph @

tests/yaml/issue-615.yaml

raw symbols SCIP
1 # Test for issue #615: The always opcode unworking after the numeral (https://github.com/liblouis/liblouis/issues/615)
2
3 table: |
4 letter x 1
5 letter y 2
6 letter z 3
7 always xy 3
8 digit 4 4
9 letter a 5
10 sign . 6
11 numsign 6
12 tests:
13 - - 4xy
14 - .4z
15
16 # The presence of the "numericnocontchars" rule enables numeric mode
17 # processing. If the nocontractsign is defined then contractions are
18 # disabled upon entering numeric mode and only enabled again upon
19 # reaching the next space. In this test the nocontractsign is not
20 # defined so the "xy" should be contracted because there is no space
21 # after the "4"
22 table: |
23 letter x 1
24 letter y 2
25 letter z 3
26 always xy 3
27 digit 4 4
28 letter a 5
29 numericnocontchars a
30 sign . 6
31 numsign 6
32 include tables/spaces.uti
33 tests:
34 - - 4 xy
35 - .4 z
36 - - 4xy
37 - .4z