mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests
- Added unit test to nibbler.t that illustrates one of the problems associated with bug #1006: Nibbler::getName read "entrée" and finds "entr".
This commit is contained in:
parent
180ff95649
commit
e8309fcf49
1 changed files with 4 additions and 0 deletions
|
@ -625,6 +625,10 @@ int main (int argc, char** argv)
|
|||
t.ok (n.skip ('9'), " '' skip 9 -> ok");
|
||||
t.ok (n.depleted (), "depleted");
|
||||
|
||||
n = Nibbler ("entrée");
|
||||
t.ok (n.getName (s), "'entrée' -> ok");
|
||||
t.is (s, "entrée", "'entrée' -> 'entrée'");
|
||||
|
||||
// bool getWord (std::string&);
|
||||
t.diag ("Nibbler::getWord");
|
||||
n = Nibbler ("one two th3ee");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue