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

Side by Side Diff: test/transformer/prints_a_transform_interface_error_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) 2013, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2013, 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 '../descriptor.dart' as d; 5 import '../descriptor.dart' as d;
8 import '../test_pub.dart'; 6 import '../test_pub.dart';
9 import '../serve/utils.dart'; 7 import '../serve/utils.dart';
10 8
11 final transformer = """ 9 final transformer = """
12 import 'dart:async'; 10 import 'dart:async';
13 11
14 import 'package:barback/barback.dart'; 12 import 'package:barback/barback.dart';
15 13
16 class RewriteTransformer extends Transformer { 14 class RewriteTransformer extends Transformer {
(...skipping 23 matching lines...) Expand all
40 38
41 pubGet(); 39 pubGet();
42 var server = pubServe(); 40 var server = pubServe();
43 server.stderr.expect(emitsLines( 41 server.stderr.expect(emitsLines(
44 "Build error:\n" 42 "Build error:\n"
45 "Transform Rewrite on myapp|web/foo.txt threw error: Class " 43 "Transform Rewrite on myapp|web/foo.txt threw error: Class "
46 "'RewriteTransformer' has no instance method 'apply'.")); 44 "'RewriteTransformer' has no instance method 'apply'."));
47 endPubServe(); 45 endPubServe();
48 }); 46 });
49 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698