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

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

Issue 1153643002: Use "package:" imports for pub. (Closed) Base URL: git@github.com:dart-lang/pub_test@master
Patch Set: Code review changes Created 5 years, 7 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; 5 library pub_tests;
6 6
7 import 'package:pub/src/exit_codes.dart' as exit_codes;
7 import 'package:scheduled_test/scheduled_test.dart'; 8 import 'package:scheduled_test/scheduled_test.dart';
8 import 'package:scheduled_test/scheduled_stream.dart'; 9 import 'package:scheduled_test/scheduled_stream.dart';
9 10
10 import '../../lib/src/exit_codes.dart' as exit_codes;
11 import '../descriptor.dart' as d; 11 import '../descriptor.dart' as d;
12 import '../test_pub.dart'; 12 import '../test_pub.dart';
13 13
14 const SOURCE_MAPS_TRANSFORMER = """ 14 const SOURCE_MAPS_TRANSFORMER = """
15 import 'dart:async'; 15 import 'dart:async';
16 16
17 import 'package:barback/barback.dart'; 17 import 'package:barback/barback.dart';
18 import 'package:source_maps/source_maps.dart'; 18 import 'package:source_maps/source_maps.dart';
19 19
20 class RewriteTransformer extends Transformer { 20 class RewriteTransformer extends Transformer {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 // In barback >=0.15.0, the span will point to the location where the error 116 // In barback >=0.15.0, the span will point to the location where the error
117 // occurred. 117 // occurred.
118 pub.stderr.expect(allow(inOrder(["d", "^"]))); 118 pub.stderr.expect(allow(inOrder(["d", "^"])));
119 119
120 pub.stderr.expect("Build failed."); 120 pub.stderr.expect("Build failed.");
121 121
122 pub.shouldExit(exit_codes.DATA); 122 pub.shouldExit(exit_codes.DATA);
123 }); 123 });
124 } 124 }
OLDNEW
« no previous file with comments | « test/transcript_test.dart ('k') | test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698