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

Unified Diff: test/dart2js/environment_constant_test.dart

Issue 1281623002: Fix a bunch of pub tests that started running "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 4 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: test/dart2js/environment_constant_test.dart
diff --git a/test/dart2js/environment_constant_test.dart b/test/dart2js/environment_constant_test.dart
index 1128105a126c0327868a3fa973035369dafe6f61..117160655bff8367eee8496ae294117f9e9fc013 100644
--- a/test/dart2js/environment_constant_test.dart
+++ b/test/dart2js/environment_constant_test.dart
@@ -38,7 +38,7 @@ main() {
});
integration('from "pub serve"', () {
- pubServe(args: ["--define", "name=fblthp"]);
+ pubServe(args: ["--define", "name=fblthp"], shouldGetFirst: true);
requestShouldSucceed("file.dart.js", contains("fblthp"));
endPubServe();
});
@@ -53,7 +53,7 @@ main() {
})
]).create();
- pubServe(args: ["--define", "name=fblthp"]);
+ pubServe(args: ["--define", "name=fblthp"], shouldGetFirst: true);
requestShouldSucceed("file.dart.js", allOf([
contains("fblthp"),
isNot(contains("slartibartfast"))

Powered by Google App Engine
This is Rietveld 408576698