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

Unified Diff: test/transformer/runs_a_third_party_transformer_on_a_local_transformer_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
Index: test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart
diff --git a/test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart b/test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart
index f438919c98a8e1b8683a6bd332886264be512535..65490fca98fe6b088ffef254e867f4582a8f3c44 100644
--- a/test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart
+++ b/test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart
@@ -9,35 +9,33 @@ import '../test_pub.dart';
import '../serve/utils.dart';
main() {
- withBarbackVersions("any", () {
- integration("runs a third-party transformer on a local transformer", () {
- d.dir("foo", [
- d.libPubspec("foo", '1.0.0'),
- d.dir("lib", [
- d.file("transformer.dart", dartTransformer('foo'))
- ])
- ]).create();
+ integration("runs a third-party transformer on a local transformer", () {
+ d.dir("foo", [
+ d.libPubspec("foo", '1.0.0'),
+ d.dir("lib", [
+ d.file("transformer.dart", dartTransformer('foo'))
+ ])
+ ]).create();
- d.dir(appPath, [
- d.pubspec({
- "name": "myapp",
- "transformers": ["foo/transformer", "myapp/transformer"],
- "dependencies": {"foo": {"path": "../foo"}}
- }),
- d.dir("lib", [
- d.file("transformer.dart", dartTransformer('myapp'))
- ]),
- d.dir("web", [
- d.file("main.dart", 'const TOKEN = "main.dart";')
- ])
- ]).create();
+ d.dir(appPath, [
+ d.pubspec({
+ "name": "myapp",
+ "transformers": ["foo/transformer", "myapp/transformer"],
+ "dependencies": {"foo": {"path": "../foo"}}
+ }),
+ d.dir("lib", [
+ d.file("transformer.dart", dartTransformer('myapp'))
+ ]),
+ d.dir("web", [
+ d.file("main.dart", 'const TOKEN = "main.dart";')
+ ])
+ ]).create();
- createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']);
+ createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']);
- pubServe();
- requestShouldSucceed("main.dart",
- 'const TOKEN = "((main.dart, foo), (myapp, foo))";');
- endPubServe();
- });
+ pubServe();
+ requestShouldSucceed("main.dart",
+ 'const TOKEN = "((main.dart, foo), (myapp, foo))";');
+ endPubServe();
});
}

Powered by Google App Engine
This is Rietveld 408576698