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

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

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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
7 // Regression test for a bug in dart2js where global names could 5 // Regression test for a bug in dart2js where global names could
8 // collide. 6 // collide.
9 7
10 var i = 'top level'; 8 var i = 'top level';
11 9
12 var i0 = 'top level zero'; 10 var i0 = 'top level zero';
13 11
14 var i00 = 'top level zero zero'; 12 var i00 = 'top level zero zero';
15 13
16 var i2 = 'top level too'; 14 var i2 = 'top level too';
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 Expect.equals('top level too', j2); 54 Expect.equals('top level too', j2);
57 Expect.equals('top level zero', j0); 55 Expect.equals('top level zero', j0);
58 Expect.equals('B', B.j); 56 Expect.equals('B', B.j);
59 57
60 Expect.equals('top level too', k2); 58 Expect.equals('top level too', k2);
61 Expect.equals('top level zero', k0); 59 Expect.equals('top level zero', k0);
62 Expect.equals('top level', k); 60 Expect.equals('top level', k);
63 Expect.equals('C', C.k); 61 Expect.equals('C', C.k);
64 Expect.equals('top level zero zero', k00); 62 Expect.equals('top level zero zero', k00);
65 } 63 }
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