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

Side by Side Diff: tests/compiler/dart2js_extra/field_initializer_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated latest tests. 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
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 class A { 7 class A {
6 static var a; 8 static var a;
7 static var b = c; 9 static var b = c;
8 static const var c = 499; 10 static const var c = 499;
9 static const var d = c; 11 static const var d = c;
10 static const var e = d; 12 static const var e = d;
11 static const var f = B.g; 13 static const var f = B.g;
12 static const var h = true; 14 static const var h = true;
13 static const var i = false; 15 static const var i = false;
14 static const var j = n; 16 static const var j = n;
(...skipping 30 matching lines...) Expand all
45 A.b = 42; 47 A.b = 42;
46 Expect.equals(42, A.b); 48 Expect.equals(42, A.b);
47 Expect.equals(499, A.c); 49 Expect.equals(499, A.c);
48 Expect.equals(499, A.a); 50 Expect.equals(499, A.a);
49 } 51 }
50 52
51 main() { 53 main() {
52 testInitialValues(); 54 testInitialValues();
53 testMutation(); 55 testMutation();
54 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698