| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 d.file("bar.txt", "bar") | 51 d.file("bar.txt", "bar") |
| 54 ]) | 52 ]) |
| 55 ]).create(); | 53 ]).create(); |
| 56 | 54 |
| 57 pubGet(); | 55 pubGet(); |
| 58 pubServe(); | 56 pubServe(); |
| 59 requestShouldSucceed("out.txt", "bar\nfoo"); | 57 requestShouldSucceed("out.txt", "bar\nfoo"); |
| 60 endPubServe(); | 58 endPubServe(); |
| 61 }); | 59 }); |
| 62 } | 60 } |
| OLD | NEW |