Tests: Added Lexer::Type::separator test
This commit is contained in:
@@ -36,7 +36,7 @@ Context context;
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main (int argc, char** argv)
|
int main (int argc, char** argv)
|
||||||
{
|
{
|
||||||
UnitTest t (508);
|
UnitTest t (514);
|
||||||
|
|
||||||
std::vector <std::pair <std::string, Lexer::Type> > tokens;
|
std::vector <std::pair <std::string, Lexer::Type> > tokens;
|
||||||
std::string token;
|
std::string token;
|
||||||
@@ -485,8 +485,7 @@ int main (int argc, char** argv)
|
|||||||
// 4weeks
|
// 4weeks
|
||||||
// PT23H
|
// PT23H
|
||||||
|
|
||||||
// Misc
|
{ "--", { { "--", Lexer::Type::separator }, NO, NO }, },
|
||||||
// --
|
|
||||||
};
|
};
|
||||||
#define NUM_TESTS (sizeof (lexerTests) / sizeof (lexerTests[0]))
|
#define NUM_TESTS (sizeof (lexerTests) / sizeof (lexerTests[0]))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user