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

Side by Side Diff: pkg/analyzer/test/error_test.dart

Issue 45573002: Rename analyzer_experimental to analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks before publishing. Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/pubspec.yaml ('k') | pkg/analyzer/test/generated/all_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS 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 import 'package:unittest/unittest.dart'; 5 import 'package:unittest/unittest.dart';
6 6
7 import 'utils.dart'; 7 import 'utils.dart';
8 8
9 void main() { 9 void main() {
10 test("a valid Dart file doesn't throw any errors", () { 10 test("a valid Dart file doesn't throw any errors", () {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 test("an error in the middle of a very long line", () { 53 test("an error in the middle of a very long line", () {
54 expect(errorsForFile('$veryLongString void foo;$veryLongString'), 54 expect(errorsForFile('$veryLongString void foo;$veryLongString'),
55 equals('Error on line 1 of test.dart: ...\n' 55 equals('Error on line 1 of test.dart: ...\n'
56 '... ' 56 '... '
57 'void foo; ' 57 'void foo; '
58 '...\n' 58 '...\n'
59 ' ' 59 ' '
60 '^^^^\n')); 60 '^^^^\n'));
61 }); 61 });
62 } 62 }
OLDNEW
« no previous file with comments | « pkg/analyzer/pubspec.yaml ('k') | pkg/analyzer/test/generated/all_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698