Debian Codegraph @

tests/yaml/compbrlAtCursor_with_equals.yaml

raw symbols SCIP
1 # Regression test for an issue that was fixed in https://github.com/liblouis/liblouis/pull/492.
2 # Tests the '=' operand with compbrlAtCursor mode active.
3
4 table: |
5 include tables/latinLetterDef6Dots.uti
6 begword pilis 1234-24-123-24-234
7 tests:
8 - - piliscsabai
9 - piliscsabai
10 - mode: [compbrlAtCursor]
11 inputPos: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
12 outputPos: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
13 cursorPos: [0,0]
14
15 # when we define the begword rule with '=' then the inlen will be 15
16 # after the lou_translate and this will crash lou_checkyaml (when
17 # printing the outputPos.
18 table: |
19 include tables/latinLetterDef6Dots.uti
20 begword pilis =
21 tests:
22 - - piliscsabai
23 - piliscsabai
24 - mode: [compbrlAtCursor]
25 inputPos: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
26 outputPos: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
27 cursorPos: [0,0]