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

Unified Diff: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart

Issue 64723005: Use the polling watcher by default in pub tests for now. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 7 years, 1 month 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: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart
index da0ee0ea25d1c7ab766a9acf1b19bc29d7a469cf..f961bae9106a19bfa3968f7e0ece893371b41e82 100644
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart
@@ -8,6 +8,7 @@ import 'package:scheduled_test/scheduled_test.dart';
import '../descriptor.dart' as d;
import '../test_pub.dart';
+import '../serve/utils.dart';
main() {
initConfig();
@@ -19,7 +20,7 @@ main() {
})
]).create();
- var pub = startPub(args: ['serve', '--port=0', "--hostname=127.0.0.1"]);
+ var pub = startPubServe();
expect(pub.nextErrLine(), completion(equals(
'Transformer library "package:myapp/transform.dart" not found.')));
pub.shouldExit(1);

Powered by Google App Engine
This is Rietveld 408576698