mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
i18n - unit tests
- Added more utf8.t unit tests. - Removed text.cpp:extractParagraphs, which is not used.
This commit is contained in:
parent
3d3d788961
commit
165001acac
3 changed files with 2 additions and 24 deletions
|
@ -41,6 +41,7 @@ if (open my $fh, '>', 'utf8.rc')
|
|||
# Add a task with UTF8 in the description.
|
||||
qx{../task rc:utf8.rc add Çirçös};
|
||||
qx{../task rc:utf8.rc add Hello world ☺};
|
||||
qx{../task rc:utf8.rc add ¥£€$¢₡₢₣₤₥₦₧₨₩₪₫₭₮₯};
|
||||
qx{../task rc:utf8.rc add Pchnąć w tę łódź jeża lub ośm skrzyń fig};
|
||||
qx{../task rc:utf8.rc add ๏ เป็นมนุษย์สุดประเสริฐเลิศคุณค่า};
|
||||
qx{../task rc:utf8.rc add イロハニホヘト チリヌルヲ ワカヨタレソ ツネナラム};
|
||||
|
@ -58,7 +59,7 @@ qx{../task rc:utf8.rc add Ξεσκεπάζω τὴν ψυχοφθόρα βδελ
|
|||
|
||||
my $output = qx{../task rc:utf8.rc ls};
|
||||
diag ($output);
|
||||
like ($output, qr/16/, 'all 16 tasks shown');
|
||||
like ($output, qr/17/, 'all 17 tasks shown');
|
||||
|
||||
# Cleanup.
|
||||
unlink 'pending.data';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue