platform/core/framework/test/hm.dart

15 lines
359 B
Dart
Raw Normal View History

2018-07-09 14:40:06 +00:00
import 'dart:async';
import 'package:io/ansi.dart';
import 'all.dart' as hm;
2021-05-14 10:34:09 +00:00
void main() async {
2018-07-09 14:40:06 +00:00
var zone = Zone.current.fork(
2019-05-02 22:48:31 +00:00
specification: ZoneSpecification(print: (self, parent, zone, line) {
2018-07-09 14:40:06 +00:00
if (line == 'null') {
2021-03-20 08:11:18 +00:00
parent.print(zone, cyan.wrap(StackTrace.current.toString())!);
2018-07-09 14:40:06 +00:00
}
}),
);
return await zone.run(hm.main);
}