Index: utils/tests/pub/pub_test.dart |
diff --git a/utils/tests/pub/pub_test.dart b/utils/tests/pub/pub_test.dart |
index 06963446ee1b20e4a622aea5e7e836e00aa7d0cb..49d70635d81c5e5217cf095a9c974fe02c636ca8 100644 |
--- a/utils/tests/pub/pub_test.dart |
+++ b/utils/tests/pub/pub_test.dart |
@@ -6,8 +6,10 @@ library pub_tests; |
import 'dart:io'; |
+import '../../../pkg/scheduled_test/lib/scheduled_test.dart'; |
+ |
+import 'descriptor.dart' as d; |
import 'test_pub.dart'; |
-import '../../../pkg/unittest/lib/unittest.dart'; |
final USAGE_STRING = """ |
Pub is a package manager for Dart. |
@@ -130,9 +132,9 @@ main() { |
}); |
integration('parses a release-style version', () { |
- dir(sdkPath, [ |
- file('version', '0.1.2.0_r17645'), |
- ]).scheduleCreate(); |
+ d.dir(sdkPath, [ |
+ d.file('version', '0.1.2.0_r17645'), |
+ ]).create(); |
schedulePub(args: ['version'], output: "Pub 0.1.2+0.r17645\n"); |
}); |
@@ -140,9 +142,9 @@ main() { |
integration('parses a dev-only style version', () { |
// The "version" file generated on developer builds is a little funky and |
// we need to make sure we don't choke on it. |
- dir(sdkPath, [ |
- file('version', '0.1.2.0_r16279_bobross'), |
- ]).scheduleCreate(); |
+ d.dir(sdkPath, [ |
+ d.file('version', '0.1.2.0_r16279_bobross'), |
+ ]).create(); |
schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n"); |
}); |