mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Fixed test with ambiguous Test::is signature.
This commit is contained in:
parent
19cc9177b9
commit
46d5b34091
1 changed files with 3 additions and 3 deletions
|
@ -478,9 +478,9 @@ int main (int argc, char** argv)
|
|||
t.is (rightJustify ("föo", 5), " föo", "rightJustify föo,5 -> ' föo'");
|
||||
|
||||
// int utf8_length (const std::string&);
|
||||
t.is (utf8_length ("Çirçös"), 6, "utf8_length (Çirçös) == 6");
|
||||
t.is (utf8_length ("ツネナラム"), 5, "utf8_length (ツネナラム) == 5");
|
||||
t.is (utf8_length ("Zwölf Boxkämpfer"), 16, "utf8_length (Zwölf Boxkämpfer) == 16");
|
||||
t.is ((int) utf8_length ("Çirçös"), 6, "utf8_length (Çirçös) == 6");
|
||||
t.is ((int) utf8_length ("ツネナラム"), 5, "utf8_length (ツネナラム) == 5");
|
||||
t.is ((int) utf8_length ("Zwölf Boxkämpfer"), 16, "utf8_length (Zwölf Boxkämpfer) == 16");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue