Skip to content

Commit c22b7f6

Browse files
authored
Add avoid_redundant_argument_values ignores back (#108984)
1 parent 74aef9f commit c22b7f6

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

packages/flutter_tools/test/commands.shard/hermetic/custom_devices_test.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ void main() {
547547
'-w', '1',
548548
'testhostname',
549549
],
550-
postBuildCommand: null,
550+
postBuildCommand: null, // ignore: avoid_redundant_argument_values
551551
installCommand: const <String>[
552552
'scp',
553553
'-r',
@@ -637,7 +637,7 @@ void main() {
637637
'-w', '1',
638638
'192.168.178.1',
639639
],
640-
postBuildCommand: null,
640+
postBuildCommand: null, // ignore: avoid_redundant_argument_values
641641
installCommand: const <String>[
642642
'scp',
643643
'-r',
@@ -727,7 +727,7 @@ void main() {
727727
'-w', '1',
728728
'::1',
729729
],
730-
postBuildCommand: null,
730+
postBuildCommand: null, // ignore: avoid_redundant_argument_values
731731
installCommand: const <String>[
732732
'scp',
733733
'-r',
@@ -821,7 +821,7 @@ void main() {
821821
'-w', '1',
822822
'testhostname',
823823
],
824-
postBuildCommand: null,
824+
postBuildCommand: null, // ignore: avoid_redundant_argument_values
825825
installCommand: <String>[
826826
'scp',
827827
'-r',
@@ -901,7 +901,7 @@ void main() {
901901
'-w', '1',
902902
'testhostname',
903903
],
904-
postBuildCommand: null,
904+
postBuildCommand: null, // ignore: avoid_redundant_argument_values
905905
installCommand: const <String>[
906906
'scp',
907907
'-r',
@@ -1226,7 +1226,7 @@ void main() {
12261226
'testhostname',
12271227
],
12281228
pingSuccessRegex: RegExp(r'[<=]\d+ms'),
1229-
postBuildCommand: null,
1229+
postBuildCommand: null, // ignore: avoid_redundant_argument_values
12301230
installCommand: const <String>[
12311231
'scp',
12321232
'-r',

packages/flutter_tools/test/general.shard/web/devfs_web_test.dart

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ void main() {
6868
);
6969
releaseAssetServer = ReleaseAssetServer(
7070
globals.fs.file('main.dart').uri,
71-
fileSystem: null,
72-
flutterRoot: null,
73-
platform: null,
74-
webBuildDirectory: null,
71+
fileSystem: null, // ignore: avoid_redundant_argument_values
72+
flutterRoot: null, // ignore: avoid_redundant_argument_values
73+
platform: null, // ignore: avoid_redundant_argument_values
74+
webBuildDirectory: null, // ignore: avoid_redundant_argument_values
7575
basePath: null,
7676
);
7777
}, overrides: <Type, Generator>{
@@ -662,7 +662,7 @@ void main() {
662662
hostname: 'localhost',
663663
port: 0,
664664
packagesFilePath: '.packages',
665-
urlTunneller: null,
665+
urlTunneller: null, // ignore: avoid_redundant_argument_values
666666
useSseForDebugProxy: true,
667667
useSseForDebugBackend: true,
668668
useSseForInjectedClient: true,
@@ -678,8 +678,8 @@ void main() {
678678
enableDds: false,
679679
entrypoint: Uri.base,
680680
testMode: true,
681-
expressionCompiler: null,
682-
chromiumLauncher: null,
681+
expressionCompiler: null, // ignore: avoid_redundant_argument_values
682+
chromiumLauncher: null, // ignore: avoid_redundant_argument_values
683683
nullSafetyMode: NullSafetyMode.unsound,
684684
);
685685
webDevFS.requireJS.createSync(recursive: true);
@@ -775,7 +775,7 @@ void main() {
775775
hostname: 'localhost',
776776
port: 0,
777777
packagesFilePath: '.packages',
778-
urlTunneller: null,
778+
urlTunneller: null, // ignore: avoid_redundant_argument_values
779779
useSseForDebugProxy: true,
780780
useSseForDebugBackend: true,
781781
useSseForInjectedClient: true,
@@ -790,8 +790,8 @@ void main() {
790790
enableDds: false,
791791
entrypoint: Uri.base,
792792
testMode: true,
793-
expressionCompiler: null,
794-
chromiumLauncher: null,
793+
expressionCompiler: null, // ignore: avoid_redundant_argument_values
794+
chromiumLauncher: null, // ignore: avoid_redundant_argument_values
795795
nullSafetyMode: NullSafetyMode.sound,
796796
);
797797
webDevFS.requireJS.createSync(recursive: true);
@@ -881,7 +881,7 @@ void main() {
881881
hostname: 'any',
882882
port: 0,
883883
packagesFilePath: '.packages',
884-
urlTunneller: null,
884+
urlTunneller: null, // ignore: avoid_redundant_argument_values
885885
useSseForDebugProxy: true,
886886
useSseForDebugBackend: true,
887887
useSseForInjectedClient: true,
@@ -890,8 +890,8 @@ void main() {
890890
enableDds: false,
891891
entrypoint: Uri.base,
892892
testMode: true,
893-
expressionCompiler: null,
894-
chromiumLauncher: null,
893+
expressionCompiler: null, // ignore: avoid_redundant_argument_values
894+
chromiumLauncher: null, // ignore: avoid_redundant_argument_values
895895
nullAssertions: true,
896896
nativeNullAssertions: true,
897897
nullSafetyMode: NullSafetyMode.sound,
@@ -916,7 +916,7 @@ void main() {
916916
hostname: 'localhost',
917917
port: 0,
918918
packagesFilePath: '.packages',
919-
urlTunneller: null,
919+
urlTunneller: null, // ignore: avoid_redundant_argument_values
920920
useSseForDebugProxy: true,
921921
useSseForDebugBackend: true,
922922
useSseForInjectedClient: true,
@@ -934,8 +934,8 @@ void main() {
934934
enableDds: false,
935935
entrypoint: Uri.base,
936936
testMode: true,
937-
expressionCompiler: null,
938-
chromiumLauncher: null,
937+
expressionCompiler: null, // ignore: avoid_redundant_argument_values
938+
chromiumLauncher: null, // ignore: avoid_redundant_argument_values
939939
nullSafetyMode: NullSafetyMode.sound,
940940
);
941941
webDevFS.requireJS.createSync(recursive: true);
@@ -959,7 +959,7 @@ void main() {
959959
hostname: 'localhost',
960960
port: 0,
961961
packagesFilePath: '.packages',
962-
urlTunneller: null,
962+
urlTunneller: null, // ignore: avoid_redundant_argument_values
963963
useSseForDebugProxy: true,
964964
useSseForDebugBackend: true,
965965
useSseForInjectedClient: true,
@@ -977,8 +977,8 @@ void main() {
977977
enableDds: false,
978978
entrypoint: Uri.base,
979979
testMode: true,
980-
expressionCompiler: null,
981-
chromiumLauncher: null,
980+
expressionCompiler: null, // ignore: avoid_redundant_argument_values
981+
chromiumLauncher: null, // ignore: avoid_redundant_argument_values
982982
nullSafetyMode: NullSafetyMode.sound,
983983
);
984984
webDevFS.requireJS.createSync(recursive: true);
@@ -1069,7 +1069,7 @@ void main() {
10691069
hostname: 'localhost',
10701070
port: 0,
10711071
packagesFilePath: '.packages',
1072-
urlTunneller: null,
1072+
urlTunneller: null, // ignore: avoid_redundant_argument_values
10731073
useSseForDebugProxy: true,
10741074
useSseForDebugBackend: true,
10751075
useSseForInjectedClient: true,
@@ -1080,8 +1080,8 @@ void main() {
10801080
enableDds: false,
10811081
entrypoint: Uri.base,
10821082
testMode: true,
1083-
expressionCompiler: null,
1084-
chromiumLauncher: null,
1083+
expressionCompiler: null, // ignore: avoid_redundant_argument_values
1084+
chromiumLauncher: null, // ignore: avoid_redundant_argument_values
10851085
nullSafetyMode: NullSafetyMode.unsound,
10861086
);
10871087
webDevFS.requireJS.createSync(recursive: true);

0 commit comments

Comments
 (0)