Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: tools/gn/tokenizer_unittest.cc

Issue 207233003: Add "." accessors to GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/tokenizer.cc ('k') | tools/gn/value.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/tokenizer_unittest.cc
diff --git a/tools/gn/tokenizer_unittest.cc b/tools/gn/tokenizer_unittest.cc
index b02db90117bdfe13efcc29203fd1f6d15728d1b8..e8abdf47aedc0dba607f225db20742bceaf36d1a 100644
--- a/tools/gn/tokenizer_unittest.cc
+++ b/tools/gn/tokenizer_unittest.cc
@@ -99,8 +99,10 @@ TEST(Tokenizer, Operator) {
{ Token::BANG, "!" },
{ Token::BOOLEAN_OR, "||" },
{ Token::BOOLEAN_AND, "&&" },
+ { Token::DOT, "." },
+ { Token::COMMA, "," },
};
- EXPECT_TRUE(CheckTokenizer("- + = += -= != == < > <= >= ! || &&",
+ EXPECT_TRUE(CheckTokenizer("- + = += -= != == < > <= >= ! || && . ,",
operators));
}
« no previous file with comments | « tools/gn/tokenizer.cc ('k') | tools/gn/value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698