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

Unified Diff: test/transformer/fails_to_load_a_pubspec_with_reserved_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/fails_to_load_a_pubspec_with_reserved_transformer_test.dart
diff --git a/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart b/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart
index 4a5ecb6c5fd8cbf993f814c214dbb955e2cc8a94..65b553e9e0516bb09824d61a7c0896327d693c8c 100644
--- a/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart
+++ b/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart
@@ -12,24 +12,22 @@ import '../test_pub.dart';
import '../serve/utils.dart';
main() {
- withBarbackVersions("any", () {
- integration("fails to load a pubspec with reserved transformer", () {
- d.dir(appPath, [
- d.pubspec({
- "name": "myapp",
- "transformers": ["\$nonexistent"]
- }),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", REWRITE_TRANSFORMER)
- ])])
- ]).create();
+ integration("fails to load a pubspec with reserved transformer", () {
+ d.dir(appPath, [
+ d.pubspec({
+ "name": "myapp",
+ "transformers": ["\$nonexistent"]
+ }),
+ d.dir("lib", [d.dir("src", [
+ d.file("transformer.dart", REWRITE_TRANSFORMER)
+ ])])
+ ]).create();
- createLockFile('myapp', pkg: ['barback']);
+ createLockFile('myapp', pkg: ['barback']);
- var pub = startPubServe();
- pub.stderr.expect(contains('Invalid transformer config: Unsupported '
- 'built-in transformer \$nonexistent.'));
- pub.shouldExit(exit_codes.DATA);
- });
+ var pub = startPubServe();
+ pub.stderr.expect(contains('Invalid transformer config: Unsupported '
+ 'built-in transformer \$nonexistent.'));
+ pub.shouldExit(exit_codes.DATA);
});
}

Powered by Google App Engine
This is Rietveld 408576698