Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
chore: fix publishing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
incendial committed Dec 8, 2022
1 parent 671c06e commit e6c6d86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
],
);
});
Expand Down
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e6c6d86

Please sign in to comment.