mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Added Lexer::Type::separator test
This commit is contained in:
parent
7ac0a919aa
commit
f26f790e74
1 changed files with 2 additions and 3 deletions
|
@ -36,7 +36,7 @@ Context context;
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, char** argv)
|
||||
{
|
||||
UnitTest t (508);
|
||||
UnitTest t (514);
|
||||
|
||||
std::vector <std::pair <std::string, Lexer::Type> > tokens;
|
||||
std::string token;
|
||||
|
@ -485,8 +485,7 @@ int main (int argc, char** argv)
|
|||
// 4weeks
|
||||
// PT23H
|
||||
|
||||
// Misc
|
||||
// --
|
||||
{ "--", { { "--", Lexer::Type::separator }, NO, NO }, },
|
||||
};
|
||||
#define NUM_TESTS (sizeof (lexerTests) / sizeof (lexerTests[0]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue