Skip to content

Commit dae6458

Browse files
committed
Clean up cmd
1 parent c2938ac commit dae6458

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tool/plugin/test/plugin_test.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,7 @@ void main() {
178178
group('build', () {
179179
test('plugin.xml', () async {
180180
var runner = makeTestRunner();
181-
late TestMakeCommand cmd;
182-
await runner.run(["-d../..", "make"]).whenComplete(() {
183-
cmd = (runner.commands['make'] as TestMakeCommand);
184-
});
181+
await runner.run(["-d../..", "make"]);
185182
await removeAll('../../build/classes');
186183
var file = File("../../build/classes/META-INF/plugin.xml");
187184
expect(file.existsSync(), isTrue);

0 commit comments

Comments
 (0)