platform/packages/framework/test/hm.dart

15 lines
353 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;
main() async {
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') {
parent.print(zone, cyan.wrap(StackTrace.current.toString()));
}
}),
);
return await zone.run(hm.main);
}