| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS 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 import 'dart:async'; | |
| 6 | |
| 7 import 'package:path/path.dart' as p; | |
| 8 import 'package:scheduled_test/scheduled_test.dart'; | 5 import 'package:scheduled_test/scheduled_test.dart'; |
| 9 | 6 |
| 10 import '../descriptor.dart' as d; | 7 import '../descriptor.dart' as d; |
| 11 import '../test_pub.dart'; | 8 import '../test_pub.dart'; |
| 12 | 9 |
| 13 const TRANSFORMER = """ | 10 const TRANSFORMER = """ |
| 14 import 'dart:async'; | 11 import 'dart:async'; |
| 15 | 12 |
| 16 import 'package:barback/barback.dart'; | 13 import 'package:barback/barback.dart'; |
| 17 | 14 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 162 |
| 166 var pub = pubRun(args: ["foo:script"]); | 163 var pub = pubRun(args: ["foo:script"]); |
| 167 | 164 |
| 168 // TODO(nweiz): Enable this when sdk#23990 is fixed. | 165 // TODO(nweiz): Enable this when sdk#23990 is fixed. |
| 169 // pub.stdout.expect(p.toUri(p.join(sandboxDir, "foo/lib/resource.txt"))); | 166 // pub.stdout.expect(p.toUri(p.join(sandboxDir, "foo/lib/resource.txt"))); |
| 170 | 167 |
| 171 pub.stdout.expect("hello!"); | 168 pub.stdout.expect("hello!"); |
| 172 pub.shouldExit(0); | 169 pub.shouldExit(0); |
| 173 }); | 170 }); |
| 174 } | 171 } |
| OLD | NEW |