mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 00:43:07 +02:00
Tests: Added Lexer::Type::pair test
This commit is contained in:
parent
a8ed0e7d55
commit
f2abdfd562
1 changed files with 3 additions and 2 deletions
|
@ -38,9 +38,9 @@ Context context;
|
|||
int main (int, char**)
|
||||
{
|
||||
#ifdef PRODUCT_TASKWARRIOR
|
||||
UnitTest t (1274);
|
||||
UnitTest t (1280);
|
||||
#else
|
||||
UnitTest t (1256);
|
||||
UnitTest t (1262);
|
||||
#endif
|
||||
|
||||
std::vector <std::pair <std::string, Lexer::Type>> tokens;
|
||||
|
@ -413,6 +413,7 @@ int main (int, char**)
|
|||
{ "rc.name=value", { { "rc.name=value", Lexer::Type::pair }, NO, NO, NO, NO }, },
|
||||
{ "rc.name:=value", { { "rc.name:=value", Lexer::Type::pair }, NO, NO, NO, NO }, },
|
||||
{ "due:='eow - 2d'", { { "due:='eow - 2d'", Lexer::Type::pair }, NO, NO, NO, NO }, },
|
||||
{ "name:'foo\nbar'", { { "name:'foo\nbar'", Lexer::Type::pair }, NO, NO, NO, NO }, },
|
||||
|
||||
// Operator - complete set
|
||||
{ "^", { { "^", Lexer::Type::op }, NO, NO, NO, NO }, },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue