mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Removed 'name=value' lexer test
- Test is now a duplicate, because 'name=value' was three tokens, and is now a pair.
This commit is contained in:
parent
449d577cca
commit
e66ad50e7e
1 changed files with 1 additions and 4 deletions
|
@ -36,7 +36,7 @@ Context context;
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, char** argv)
|
||||
{
|
||||
UnitTest t (819);
|
||||
UnitTest t (801);
|
||||
|
||||
std::vector <std::pair <std::string, Lexer::Type>> tokens;
|
||||
std::string token;
|
||||
|
@ -370,9 +370,6 @@ int main (int argc, char** argv)
|
|||
// due:eom-2w
|
||||
// due < eom + 1w + 1d
|
||||
// ( /pattern/ or 8ad2e3db-914d-4832-b0e6-72fa04f6e331,3b6218f9-726a-44fc-aa63-889ff52be442 )
|
||||
{ "name=value", { { "name", Lexer::Type::dom },
|
||||
{ "=", Lexer::Type::op },
|
||||
{ "value", Lexer::Type::dom }, NO, NO }, },
|
||||
{ "(1+2)", { { "(", Lexer::Type::op },
|
||||
{ "1", Lexer::Type::number },
|
||||
{ "+", Lexer::Type::op },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue