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

Unified Diff: mojo/public/cpp/bindings/tests/validation_unittest.cc

Issue 340553002: Mojo validation test input parser: disallow multiple [anchr]s with the same ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: mojo/public/cpp/bindings/tests/validation_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/validation_unittest.cc b/mojo/public/cpp/bindings/tests/validation_unittest.cc
index 2dbbddba40f80eb37e607226710d724956bbf700..1a1347a51af6492fd9ce45320f820b586ccf5946 100644
--- a/mojo/public/cpp/bindings/tests/validation_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc
@@ -364,6 +364,8 @@ TEST(ValidationTest, InputParser) {
"[b]1111111k",
"[dist4]unmatched",
"[anchr]hello [dist8]hello",
+ "[dist4]a [dist4]a [anchr]a",
+ "[dist4]a [anchr]a [dist4]a [anchr]a",
"0 [handles]50",
NULL
};

Powered by Google App Engine
This is Rietveld 408576698