Tests: Added Lexer::Type::tag test for +@tag
This commit is contained in:
@@ -36,7 +36,7 @@ Context context;
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, char** argv)
|
||||
{
|
||||
UnitTest t (634);
|
||||
UnitTest t (640);
|
||||
|
||||
std::vector <std::pair <std::string, Lexer::Type> > tokens;
|
||||
std::string token;
|
||||
@@ -393,6 +393,7 @@ int main (int argc, char** argv)
|
||||
// Tag
|
||||
{ "+tag", { { "+tag", Lexer::Type::tag }, NO, NO, NO, NO }, },
|
||||
{ "-tag", { { "-tag", Lexer::Type::tag }, NO, NO, NO, NO }, },
|
||||
{ "+@tag", { { "+@tag", Lexer::Type::tag }, NO, NO, NO, NO }, },
|
||||
|
||||
// Path
|
||||
{ "/long/path/to/file.txt", { { "/long/path/to/file.txt", Lexer::Type::path }, NO, NO, NO, NO }, },
|
||||
|
||||
Reference in New Issue
Block a user