| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library pub_tests; | |
| 6 | |
| 7 import 'dart:convert'; | 5 import 'dart:convert'; |
| 8 | 6 |
| 9 import 'package:scheduled_test/scheduled_stream.dart'; | 7 import 'package:scheduled_test/scheduled_stream.dart'; |
| 10 | 8 |
| 11 import '../descriptor.dart' as d; | 9 import '../descriptor.dart' as d; |
| 12 import '../test_pub.dart'; | 10 import '../test_pub.dart'; |
| 13 import '../serve/utils.dart'; | 11 import '../serve/utils.dart'; |
| 14 | 12 |
| 15 final transformer = """ | 13 final transformer = """ |
| 16 import 'dart:async'; | 14 import 'dart:async'; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 "package": "myapp", | 59 "package": "myapp", |
| 62 "path": "nonexistent" | 60 "path": "nonexistent" |
| 63 })); | 61 })); |
| 64 endPubServe(); | 62 endPubServe(); |
| 65 | 63 |
| 66 // Since the AssetNotFoundException was caught and handled, the server | 64 // Since the AssetNotFoundException was caught and handled, the server |
| 67 // shouldn't print any error information for it. | 65 // shouldn't print any error information for it. |
| 68 server.stderr.expect(isDone); | 66 server.stderr.expect(isDone); |
| 69 }); | 67 }); |
| 70 } | 68 } |
| OLD | NEW |