mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests - Complete Att unit tests
- Covers parsing, composition.
This commit is contained in:
parent
ed685a55ce
commit
766c2d3620
3 changed files with 61 additions and 36 deletions
|
@ -212,7 +212,7 @@ bool Nibbler::skipAllOneOf (const std::string& chars)
|
|||
bool Nibbler::getQuoted (char c, std::string& result)
|
||||
{
|
||||
std::string::size_type start = mCursor;
|
||||
if (start < mInput.length () - 1 && mInput[start] == c)
|
||||
if (start < mInput.length () && mInput[start] == c)
|
||||
{
|
||||
++start;
|
||||
if (start < mInput.length ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue