Skip to content

Commit a14b8ad

Browse files
authored
remove unneeded --packages test arg (dart-archive/linter#3899)
* remove unneeded `--packages` test arg * fmt
1 parent 38d2ebd commit a14b8ad

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/integration/close_sinks.dart

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,7 @@ void main() {
2626
});
2727

2828
test('close sinks', () async {
29-
var packagesFilePath = File('.packages').absolute.path;
30-
await cli.run([
31-
'--packages',
32-
packagesFilePath,
33-
'$integrationTestDir/close_sinks',
34-
'--rules=close_sinks'
35-
]);
29+
await cli.run(['$integrationTestDir/close_sinks', '--rules=close_sinks']);
3630
expect(
3731
collectingOut.trim(),
3832
stringContainsInOrder([

0 commit comments

Comments
 (0)