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

Unified Diff: test/serve/allows_arbitrary_modes_test.dart

Issue 1530353002: Drop support for older Barback versions. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « test/run/runs_transformer_in_entrypoint_test.dart ('k') | test/serve/defaults_to_debug_mode_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/serve/allows_arbitrary_modes_test.dart
diff --git a/test/serve/allows_arbitrary_modes_test.dart b/test/serve/allows_arbitrary_modes_test.dart
index 841cb9803fb40d17be726634b1bbf3dc9a8155ec..531670e6348d6357de8f935053cb53dfe42204da 100644
--- a/test/serve/allows_arbitrary_modes_test.dart
+++ b/test/serve/allows_arbitrary_modes_test.dart
@@ -29,26 +29,24 @@ class ModeTransformer extends Transformer {
""";
main() {
- withBarbackVersions("any", () {
- integration("allows user-defined mode names", () {
- d.dir(appPath, [
- d.pubspec({
- "name": "myapp",
- "transformers": ["myapp/src/transformer"]
- }),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", TRANSFORMER)
- ])]),
- d.dir("web", [
- d.file("foo.txt", "foo")
- ])
- ]).create();
-
- createLockFile('myapp', pkg: ['barback']);
-
- pubServe(args: ["--mode", "depeche"]);
- requestShouldSucceed("foo.out", "depeche");
- endPubServe();
- });
+ integration("allows user-defined mode names", () {
+ d.dir(appPath, [
+ d.pubspec({
+ "name": "myapp",
+ "transformers": ["myapp/src/transformer"]
+ }),
+ d.dir("lib", [d.dir("src", [
+ d.file("transformer.dart", TRANSFORMER)
+ ])]),
+ d.dir("web", [
+ d.file("foo.txt", "foo")
+ ])
+ ]).create();
+
+ createLockFile('myapp', pkg: ['barback']);
+
+ pubServe(args: ["--mode", "depeche"]);
+ requestShouldSucceed("foo.out", "depeche");
+ endPubServe();
});
}
« no previous file with comments | « test/run/runs_transformer_in_entrypoint_test.dart ('k') | test/serve/defaults_to_debug_mode_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698