blob: 74cbc0126de9ed6af489598c58e07d2b0bbd3f3f [file] [log] [blame]
# A back translation attribute rule at the start of a string is incorrectly resolved
table: |
include tables/chardefs.cti
nofor pass2 $l @123456
flags: {testmode: backward}
tests:
- - foo
- ===
# Back translation using pass rules that match characters wasn't working
table: |
include tables/chardefs.cti
nofor pass2 @123456 @135-135
flags: {testmode: backward}
tests:
- - f=
- foo
# Forward translation using pass rules that have characters wasn't working
table: |
include tables/chardefs.cti
noback context "oo" @123456
flags: {testmode: forward}
tests:
- - foo
- f=
# A context rule with characters needs to be treated as a translation rule
table: |
include tables/chardefs.cti
always oo 136
noback context "o" @123456
flags: {testmode: forward}
tests:
- - foo
- fu
# A multipass test should fail if _ goes negative
table: |
include tables/chardefs.cti
nofor correct _["fu"] "oo"
flags: {testmode: backward}
tests:
- - fu
- foo