@@ -63,8 +63,7 @@ flutter_launcher_icons:
63
63
ios: false
64
64
''' );
65
65
final ArgResults argResults = parser.parse (< String > []);
66
- final Config ? config =
67
- main_dart.loadConfigFileFromArgResults (argResults);
66
+ final Config ? config = main_dart.loadConfigFileFromArgResults (argResults);
68
67
expect (config, isNotNull);
69
68
expect (config! .android, isTrue);
70
69
});
@@ -76,8 +75,7 @@ flutter_launcher_icons:
76
75
ios: false
77
76
''' );
78
77
ArgResults argResults = parser.parse (< String > []);
79
- final Config ? config =
80
- main_dart.loadConfigFileFromArgResults (argResults);
78
+ final Config ? config = main_dart.loadConfigFileFromArgResults (argResults);
81
79
expect (config, isNotNull);
82
80
expect (config! .ios, isFalse);
83
81
@@ -95,8 +93,7 @@ flutter_launcher_icons:
95
93
''' );
96
94
// if no argument set, should fail
97
95
ArgResults argResults = parser.parse (< String > ['-f' , 'custom.yaml' ]);
98
- final Config ? config =
99
- main_dart.loadConfigFileFromArgResults (argResults);
96
+ final Config ? config = main_dart.loadConfigFileFromArgResults (argResults);
100
97
expect (config, isNotNull);
101
98
expect (config! .ios, isTrue);
102
99
@@ -127,8 +124,7 @@ flutter_launcher_icons:
127
124
'android' : true ,
128
125
'ios' : true
129
126
};
130
- final configAndroid =
131
- Config .fromJson (flutterIconsConfigAndroid);
127
+ final configAndroid = Config .fromJson (flutterIconsConfigAndroid);
132
128
expect (
133
129
configAndroid.getImagePathAndroid (),
134
130
equals ('assets/images/icon-710x599.png' ),
@@ -140,8 +136,7 @@ flutter_launcher_icons:
140
136
'android' : true ,
141
137
'ios' : true
142
138
};
143
- final configBoth =
144
- Config .fromJson (flutterIconsConfigBoth);
139
+ final configBoth = Config .fromJson (flutterIconsConfigBoth);
145
140
expect (
146
141
configBoth.getImagePathAndroid (),
147
142
equals ('assets/images/icon-android.png' ),
0 commit comments