Skip to content

Commit

Permalink
Make use of the enhanced xfail flag which now allows specifying the d…
Browse files Browse the repository at this point in the history
…irection
  • Loading branch information
bertfrees authored and egli committed Sep 12, 2023
1 parent 63852c2 commit 98dc2a9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/braille-specs/sv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,18 @@ tests:
- ⠼⠁⠑⠒⠼⠉⠑
# Spaces
- ['\x0020', ' ']
flags: {testmode: forward}
tests:
- ['\x0009', '\x0020']
- ['\x000a', '\x0020']
- ['\x000d', '\x0020']
- ['\x00a0', ' ']
- ['\x0009', '\x0020', {xfail: {backward: true}}]
- ['\x000a', '\x0020', {xfail: {backward: true}}]
- ['\x000d', '\x0020', {xfail: {backward: true}}]
- ['\x00a0', '\x0020', {xfail: {backward: true}}]
- # Diacritic letters
- ă ć ɖ ì ó ţ ẅ ḝ
- ⠈⠁ ⠬⠔⠉ ⠈⠙ ⠬⠢⠊ ⠬⠔⠕ ⠣⠂⠞ ⠬⠆⠺ ⠈⠑
- xfail: {backward: true}
# All caps phrase
- ['VAD SÄGER DU?', '⠠⠠⠠⠧⠁⠙ ⠎⠜⠛⠑⠗ ⠙⠥⠢⠱']
- - VAD SÄGER DU?
- ⠠⠠⠠⠧⠁⠙ ⠎⠜⠛⠑⠗ ⠙⠥⠢⠱
- xfail: {backward: true}

# ----------------------------------
# grade 1 (partially contracted)
Expand All @@ -76,11 +77,10 @@ tests:
- # Non-contraction letters
- Nej s som i Sigurd.
- ⠠⠝⠑⠚ ⠒⠎ ⠎ ⠊ ⠠⠎⠊⠛⠥⠗⠙⠄
flags: {testmode: forward}
tests:
- # All caps phrase
- VAD SÄGER DU?
- ⠠⠠⠠⠺ ⠎⠜⠛⠑⠗ ⠙⠥⠢⠱
- xfail: {backward: true}

# ----------------------------------
# grade 2 (fully contracted)
Expand Down

0 comments on commit 98dc2a9

Please sign in to comment.