platform/packages/core/test/hm.dart

15 lines
359 B
Dart
Raw Permalink Normal View History

import 'dart:async';
import 'package:io/ansi.dart';
import 'all.dart' as hm;
void main() async {
var zone = Zone.current.fork(
specification: ZoneSpecification(print: (self, parent, zone, line) {
if (line == 'null') {
parent.print(zone, cyan.wrap(StackTrace.current.toString())!);
}
}),
);
return await zone.run(hm.main);
}