| 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 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; | 5 library pub_tests; |
| 6 | 6 |
| 7 import 'package:scheduled_test/scheduled_test.dart'; | 7 import 'package:scheduled_test/scheduled_test.dart'; |
| 8 | 8 |
| 9 import '../descriptor.dart' as d; | 9 import '../descriptor.dart' as d; |
| 10 import '../test_pub.dart'; | 10 import '../test_pub.dart'; |
| 11 import '../serve/utils.dart'; | 11 import '../serve/utils.dart'; |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 Future apply(Transform transform) { | 437 Future apply(Transform transform) { |
| 438 return transform.primaryInput.readAsString().then((contents) { | 438 return transform.primaryInput.readAsString().then((contents) { |
| 439 transform.addOutput(new Asset.fromString( | 439 transform.addOutput(new Asset.fromString( |
| 440 transform.primaryInput.id, | 440 transform.primaryInput.id, |
| 441 contents.replaceAll("$input", "$output"))); | 441 contents.replaceAll("$input", "$output"))); |
| 442 }); | 442 }); |
| 443 } | 443 } |
| 444 } | 444 } |
| 445 """; | 445 """; |
| 446 } | 446 } |
| OLD | NEW |