[flutter_tools] last pass on general.shard unit tests (#60263)

Last batch of test fixes for general shard.
This commit is contained in:
Jonah Williams
2020-06-26 13:36:06 -07:00
committed by GitHub
parent 7518a146c2
commit e1538d1b88
11 changed files with 453 additions and 175 deletions

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'dart:async';
import 'dart:io' as io;
import 'package:flutter_tools/src/android/android_workflow.dart';
import 'package:flutter_tools/src/base/bot_detector.dart';
@@ -158,8 +157,8 @@ void testUsingContext(
rethrow;
}
}, onError: (Object error, StackTrace stackTrace) { // ignore: deprecated_member_use
io.stdout.writeln(error);
io.stdout.writeln(stackTrace);
print(error);
print(stackTrace);
_printBufferedErrors(context);
throw error;
});