Test: Removed unsupported feature from lexer test

This commit is contained in:
Paul Beckingham 2015-07-04 10:35:53 -04:00
parent ad17ad82dd
commit 18b1f32466

View file

@ -36,7 +36,7 @@ Context context;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
int main (int argc, char** argv) int main (int argc, char** argv)
{ {
UnitTest t (818); UnitTest t (806);
std::vector <std::pair <std::string, Lexer::Type>> tokens; std::vector <std::pair <std::string, Lexer::Type>> tokens;
std::string token; std::string token;
@ -213,8 +213,6 @@ int main (int argc, char** argv)
{ "+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 }, }, { "-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 }, },
{ "+'tag 1'", { { "+tag 1", Lexer::Type::tag }, NO, NO, NO, NO }, },
{ "'+tag 1'", { { "+tag 1", Lexer::Type::tag }, NO, NO, NO, NO }, },
// Path // Path
{ "/long/path/to/file.txt", { { "/long/path/to/file.txt", Lexer::Type::path }, NO, NO, NO, NO }, }, { "/long/path/to/file.txt", { { "/long/path/to/file.txt", Lexer::Type::path }, NO, NO, NO, NO }, },