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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java

Issue 18209002: Add error on use of argument definition test (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java (revision 24589)
+++ editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java (working copy)
@@ -372,8 +372,10 @@
}
public void test_parseArgumentDefinitionTest() throws Exception {
- ArgumentDefinitionTest test = parse("parseArgumentDefinitionTest", "?x"/*,
- ParserErrorCode.DEPRECATED_ARGUMENT_DEFINITION_TEST*/);
+ ArgumentDefinitionTest test = parse(
+ "parseArgumentDefinitionTest",
+ "?x",
+ ParserErrorCode.DEPRECATED_ARGUMENT_DEFINITION_TEST);
assertNotNull(test.getQuestion());
assertNotNull(test.getIdentifier());
}

Powered by Google App Engine
This is Rietveld 408576698