| 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 '../descriptor.dart' as d; | 5 import '../descriptor.dart' as d; |
| 8 import '../test_pub.dart'; | 6 import '../test_pub.dart'; |
| 9 import '../serve/utils.dart'; | 7 import '../serve/utils.dart'; |
| 10 | 8 |
| 11 const AGGREGATE_TRANSFORMER = """ | 9 const AGGREGATE_TRANSFORMER = """ |
| 12 import 'dart:async'; | 10 import 'dart:async'; |
| 13 | 11 |
| 14 import 'package:barback/barback.dart'; | 12 import 'package:barback/barback.dart'; |
| 15 import 'package:path/path.dart' as p; | 13 import 'package:path/path.dart' as p; |
| 16 | 14 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 60 |
| 63 pubGet(); | 61 pubGet(); |
| 64 var server = pubServe(); | 62 var server = pubServe(); |
| 65 // The transformer should preserve laziness. | 63 // The transformer should preserve laziness. |
| 66 server.stdout.expect("Build completed successfully"); | 64 server.stdout.expect("Build completed successfully"); |
| 67 | 65 |
| 68 requestShouldSucceed("out.txt", "bar\nfoo"); | 66 requestShouldSucceed("out.txt", "bar\nfoo"); |
| 69 endPubServe(); | 67 endPubServe(); |
| 70 }); | 68 }); |
| 71 } | 69 } |
| OLD | NEW |