Commit 49affc40 authored by Devon Carew's avatar Devon Carew

make the drive output prettier (#4260)

parent 111392d7
......@@ -57,8 +57,10 @@ class LogRecord {
final String loggerName;
final String message;
String get levelDescription => level.toString().split(".").last;
@override
String toString() => '[${"$level".split(".").last}] $loggerName: $message';
String toString() => '[${levelDescription.padRight(5)}] $loggerName: $message';
}
/// Package-private; users should use other public logging libraries.
......
......@@ -321,7 +321,8 @@ void restoreTestRunner() {
Future<int> runTests(List<String> testArgs) async {
printTrace('Running driver tests.');
await executable.main(testArgs);
List<String> args = testArgs.toList()..add('-rexpanded');
await executable.main(args);
return io.exitCode;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment