mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
tests/fold: add tests for non-utf8 streams
This commit is contained in:
parent
cad7d0fe1b
commit
faa6a9bb95
6 changed files with 71 additions and 0 deletions
2
tests/fixtures/fold/non_utf8.expected
vendored
Normal file
2
tests/fixtures/fold/non_utf8.expected
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
Alle Menschen sind frei und gleich an
|
||||
Würde und Rechten geboren
|
1
tests/fixtures/fold/non_utf8.input
vendored
Normal file
1
tests/fixtures/fold/non_utf8.input
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Alle Menschen sind frei und gleich an Würde und Rechten geboren
|
11
tests/fixtures/fold/non_utf8_tab_stops.input
vendored
Normal file
11
tests/fixtures/fold/non_utf8_tab_stops.input
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
タ
|
||||
タチ
|
||||
タチツ
|
||||
タチツテ
|
||||
タチツテト
|
||||
タチツテトナ
|
||||
タチツテトナニ
|
||||
タチツテトナニヌ
|
||||
タチツテトナニヌネ
|
||||
タチツテトナニヌ ネ
|
||||
タチツテトナニヌ ネ ノ
|
13
tests/fixtures/fold/non_utf8_tab_stops_w16.expected
vendored
Normal file
13
tests/fixtures/fold/non_utf8_tab_stops_w16.expected
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
タ
|
||||
タチ
|
||||
タチツ
|
||||
タチツテ
|
||||
タチツテト
|
||||
タチツテトナ
|
||||
タチツテトナニ
|
||||
タチツテトナニヌ
|
||||
タチツテトナニヌネ
|
||||
タチツテトナニヌ
|
||||
ネ
|
||||
タチツテトナニヌ
|
||||
ネ ノ
|
17
tests/fixtures/fold/non_utf8_tab_stops_w8.expected
vendored
Normal file
17
tests/fixtures/fold/non_utf8_tab_stops_w8.expected
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
А
|
||||
АБ
|
||||
АБВ
|
||||
АБВГ
|
||||
АБВГД
|
||||
АБВГДЕ
|
||||
АБВГДЕЖ
|
||||
АБВГДЕЖЗ
|
||||
АБВГДЕЖЗ
|
||||
И
|
||||
АБВГДЕЖЗ
|
||||
|
||||
И
|
||||
АБВГДЕЖЗ
|
||||
|
||||
И
|
||||
Й
|
Loading…
Add table
Add a link
Reference in a new issue