diff --git a/test/src/analyzers/lint_analyzer/rules/rules_list/avoid_double_slash_imports/avoid_double_slash_imports_rule_test.dart b/test/src/analyzers/lint_analyzer/rules/rules_list/avoid_double_slash_imports/avoid_double_slash_imports_rule_test.dart index 831e309de0..1896e00423 100644 --- a/test/src/analyzers/lint_analyzer/rules/rules_list/avoid_double_slash_imports/avoid_double_slash_imports_rule_test.dart +++ b/test/src/analyzers/lint_analyzer/rules/rules_list/avoid_double_slash_imports/avoid_double_slash_imports_rule_test.dart @@ -25,31 +25,23 @@ void main() { RuleTestHelper.verifyIssues( issues: issues, - startLines: [1, 3, 5, 7], - startColumns: [1, 1, 1, 1], + startLines: [3, 5], + startColumns: [1, 1], locationTexts: [ - "import 'package:test//material.dart';", "import '../../..//rule_utils_test.dart';", - "export 'package:mocktail//good_file.dart';", "part '..//empty.dart';", ], messages: [ 'Avoid double slash import/export directives.', 'Avoid double slash import/export directives.', - 'Avoid double slash import/export directives.', - 'Avoid double slash import/export directives.', ], replacements: [ - "import 'package:test/material.dart';", "import '../../../rule_utils_test.dart';", - "export 'package:mocktail/good_file.dart';", "part '../empty.dart';", ], replacementComments: [ 'Remove double slash.', 'Remove double slash.', - 'Remove double slash.', - 'Remove double slash.', ], ); }); diff --git a/test/src/analyzers/lint_analyzer/rules/rules_list/avoid_double_slash_imports/examples/example.dart b/test/src/analyzers/lint_analyzer/rules/rules_list/avoid_double_slash_imports/examples/example.dart index 9679ca9fb5..1e8e8075ab 100644 --- a/test/src/analyzers/lint_analyzer/rules/rules_list/avoid_double_slash_imports/examples/example.dart +++ b/test/src/analyzers/lint_analyzer/rules/rules_list/avoid_double_slash_imports/examples/example.dart @@ -1,7 +1,5 @@ -import 'package:test//material.dart'; // LINT +import 'package:test/material.dart'; import 'package:mocktail/good_file.dart'; import '../../..//rule_utils_test.dart'; // LINT -export 'package:mocktail//good_file.dart'; // LINT - part '..//empty.dart'; // LINT