Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: utils/tests/pub/install/git/require_pubspec_test.dart

Issue 12437022: Use scheduled_test for Pub tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-upload Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/tests/pub/install/git/require_pubspec_test.dart
diff --git a/utils/tests/pub/install/git/require_pubspec_test.dart b/utils/tests/pub/install/git/require_pubspec_test.dart
index ffc0b60abc234c6935ba9ab4ad27c4a828ce9685..084bbe0def44ba9a52de868d3f59707970e31276 100644
--- a/utils/tests/pub/install/git/require_pubspec_test.dart
+++ b/utils/tests/pub/install/git/require_pubspec_test.dart
@@ -6,17 +6,18 @@ library pub_tests;
import 'dart:io';
+import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
integration('requires the dependency to have a pubspec', () {
ensureGit();
- git('foo.git', [
- libDir('foo')
- ]).scheduleCreate();
+ d.git('foo.git', [
+ d.libDir('foo')
+ ]).create();
- appDir([{"git": "../foo.git"}]).scheduleCreate();
+ d.appDir([{"git": "../foo.git"}]).create();
// TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is
// fixed.

Powered by Google App Engine
This is Rietveld 408576698