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

Unified Diff: pkg/analyzer/test/generated/ast_test.dart

Issue 1026093002: Fix hints in the analyzer package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | « pkg/analyzer/test/generated/all_the_rest_test.dart ('k') | pkg/analyzer/test/generated/element_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/ast_test.dart
diff --git a/pkg/analyzer/test/generated/ast_test.dart b/pkg/analyzer/test/generated/ast_test.dart
index 7c00e3c6ceb895c55b495ab2a18c5cfead374531..51ad0caf86d16044d5694410081c03c7fb7f07ea 100644
--- a/pkg/analyzer/test/generated/ast_test.dart
+++ b/pkg/analyzer/test/generated/ast_test.dart
@@ -728,7 +728,7 @@ class NodeListTest extends EngineTestCase {
try {
list.insert(-1, AstFactory.booleanLiteral(true));
fail("Expected IndexOutOfBoundsException");
- } on RangeError catch (exception) {
+ } on RangeError {
// Expected
}
}
@@ -738,7 +738,7 @@ class NodeListTest extends EngineTestCase {
try {
list.insert(1, AstFactory.booleanLiteral(true));
fail("Expected IndexOutOfBoundsException");
- } on RangeError catch (exception) {
+ } on RangeError {
// Expected
}
}
@@ -787,7 +787,7 @@ class NodeListTest extends EngineTestCase {
try {
list[-1];
fail("Expected IndexOutOfBoundsException");
- } on RangeError catch (exception) {
+ } on RangeError {
// Expected
}
}
@@ -797,7 +797,7 @@ class NodeListTest extends EngineTestCase {
try {
list[1];
fail("Expected IndexOutOfBoundsException");
- } on RangeError catch (exception) {
+ } on RangeError {
// Expected
}
}
@@ -869,7 +869,7 @@ class NodeListTest extends EngineTestCase {
try {
list.removeAt(-1);
fail("Expected IndexOutOfBoundsException");
- } on RangeError catch (exception) {
+ } on RangeError {
// Expected
}
}
@@ -879,7 +879,7 @@ class NodeListTest extends EngineTestCase {
try {
list.removeAt(1);
fail("Expected IndexOutOfBoundsException");
- } on RangeError catch (exception) {
+ } on RangeError {
// Expected
}
}
@@ -909,7 +909,7 @@ class NodeListTest extends EngineTestCase {
try {
javaListSet(list, -1, node);
fail("Expected IndexOutOfBoundsException");
- } on RangeError catch (exception) {
+ } on RangeError {
// Expected
}
}
@@ -920,7 +920,7 @@ class NodeListTest extends EngineTestCase {
try {
javaListSet(list, 1, node);
fail("Expected IndexOutOfBoundsException");
- } on RangeError catch (exception) {
+ } on RangeError {
// Expected
}
}
« no previous file with comments | « pkg/analyzer/test/generated/all_the_rest_test.dart ('k') | pkg/analyzer/test/generated/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698