mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Fixed a series of bugs to improve the test suite results.
This commit is contained in:
parent
f3d3126839
commit
ce4f26bdf3
7 changed files with 32 additions and 22 deletions
|
@ -69,7 +69,7 @@ bool Sequence::valid (const std::string& input) const
|
|||
range.size () > 2)
|
||||
return false;
|
||||
|
||||
if (range.size () == 1 && !validId (range[0]))
|
||||
if (range.size () <= 2 && !validId (range[0]))
|
||||
return false;
|
||||
|
||||
if (range.size () == 2 && !validId (range[1]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue