| 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
|
| }
|
| }
|
|
|