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

Side by Side Diff: test/transformer/multiple_transformers_reject_their_config_test.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library pub_tests;
6
7 import 'package:scheduled_test/scheduled_stream.dart'; 5 import 'package:scheduled_test/scheduled_stream.dart';
8 import 'package:scheduled_test/scheduled_test.dart'; 6 import 'package:scheduled_test/scheduled_test.dart';
9 7
10 import '../descriptor.dart' as d; 8 import '../descriptor.dart' as d;
11 import '../test_pub.dart'; 9 import '../test_pub.dart';
12 import '../serve/utils.dart'; 10 import '../serve/utils.dart';
13 11
14 const REJECT_CONFIG_TRANSFORMER = """ 12 const REJECT_CONFIG_TRANSFORMER = """
15 import 'dart:async'; 13 import 'dart:async';
16 14
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // We should see three instances of the error message, once for each 48 // We should see three instances of the error message, once for each
51 // use of the transformer. 49 // use of the transformer.
52 var pub = startPubServe(); 50 var pub = startPubServe();
53 for (var i = 0; i < 3; i++) { 51 for (var i = 0; i < 3; i++) {
54 pub.stderr.expect(consumeThrough(endsWith('Error loading transformer: ' 52 pub.stderr.expect(consumeThrough(endsWith('Error loading transformer: '
55 'I hate these settings!'))); 53 'I hate these settings!')));
56 } 54 }
57 pub.shouldExit(1); 55 pub.shouldExit(1);
58 }); 56 });
59 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698