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

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

Issue 11943005: Make integration tests a bit cleaner. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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_name_test.dart
diff --git a/utils/tests/pub/install/git/require_pubspec_name_test.dart b/utils/tests/pub/install/git/require_pubspec_name_test.dart
index e0ea55a93f6a7e1f718904aa4456e344ce5bbf4c..68cc91ea266356d0cbd79bab7f6d34b7c08c079f 100644
--- a/utils/tests/pub/install/git/require_pubspec_name_test.dart
+++ b/utils/tests/pub/install/git/require_pubspec_name_test.dart
@@ -7,10 +7,10 @@ library pub_tests;
import 'dart:io';
import '../../test_pub.dart';
-import '../../../../../pkg/unittest/lib/unittest.dart';
main() {
- test('requires the dependency to have a pubspec with a name field', () {
+ integration('requires the dependency to have a pubspec with a name '
+ 'field', () {
ensureGit();
git('foo.git', [
@@ -26,7 +26,5 @@ main() {
error: new RegExp(r'^Package "foo"' "'" 's pubspec.yaml file is '
r'missing the required "name" field \(e\.g\. "name: foo"\)\.'),
exitCode: 1);
-
- run();
});
}
« no previous file with comments | « utils/tests/pub/install/git/lock_version_test.dart ('k') | utils/tests/pub/install/git/require_pubspec_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698