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

Side by Side Diff: tests/language/namer_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « tests/language/namer2_test.dart ('k') | tests/language/naming2_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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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:expect/expect.dart";
6
5 // Regression test for a bug in dart2js where global names could 7 // Regression test for a bug in dart2js where global names could
6 // collide. 8 // collide.
7 9
8 var i = 'top level'; 10 var i = 'top level';
9 11
10 var i0 = 'top level zero'; 12 var i0 = 'top level zero';
11 13
12 var i00 = 'top level zero zero'; 14 var i00 = 'top level zero zero';
13 15
14 var i2 = 'top level too'; 16 var i2 = 'top level too';
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 Expect.equals('top level too', j2); 56 Expect.equals('top level too', j2);
55 Expect.equals('top level zero', j0); 57 Expect.equals('top level zero', j0);
56 Expect.equals('B', B.j); 58 Expect.equals('B', B.j);
57 59
58 Expect.equals('top level too', k2); 60 Expect.equals('top level too', k2);
59 Expect.equals('top level zero', k0); 61 Expect.equals('top level zero', k0);
60 Expect.equals('top level', k); 62 Expect.equals('top level', k);
61 Expect.equals('C', C.k); 63 Expect.equals('C', C.k);
62 Expect.equals('top level zero zero', k00); 64 Expect.equals('top level zero zero', k00);
63 } 65 }
OLDNEW
« no previous file with comments | « tests/language/namer2_test.dart ('k') | tests/language/naming2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698