| OLD | NEW |
| 1 #!mojo mojo:dart_content_handler | 1 #!mojo mojo:dart_content_handler |
| 2 | 2 |
| 3 library test; | 3 library test; |
| 4 | 4 |
| 5 import 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:mojo.internal'; | 6 import 'dart:mojo.internal'; |
| 7 | 7 |
| 8 import 'package:mojo_services/tracing/tracing.mojom.dart' as tracing; | 8 import 'package:mojo_services/tracing/tracing.mojom.dart' as tracing; |
| 9 | 9 |
| 10 part 'src/part0.dart'; | 10 part 'src/part0.dart'; |
| 11 | 11 |
| 12 main(List args) { | 12 main(List args) { |
| 13 // Hang around for a sec and then close the shell handle. | 13 // Hang around for a sec and then close the shell handle. |
| 14 new Timer(new Duration(milliseconds: 1000), () { | 14 new Timer(new Duration(milliseconds: 1000), () { |
| 15 print('PASS'); | 15 print('PASS'); |
| 16 MojoHandleNatives.close(args[0]); | 16 MojoHandleNatives.close(args[0]); |
| 17 }); | 17 }); |
| 18 } | 18 } |
| OLD | NEW |