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

Side by Side Diff: tests/compiler/dart2js_extra/phi_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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 void phi1() { 7 void phi1() {
6 var x = 42; 8 var x = 42;
7 if (true) { 9 if (true) {
8 Expect.equals(42, x); 10 Expect.equals(42, x);
9 print(x); 11 print(x);
10 } 12 }
11 Expect.equals(42, x); 13 Expect.equals(42, x);
12 print(x); 14 print(x);
13 } 15 }
14 16
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 phi1(); 161 phi1();
160 phi2(); 162 phi2();
161 phi3(); 163 phi3();
162 phi4(); 164 phi4();
163 phi5(); 165 phi5();
164 phi6(); 166 phi6();
165 phi7(); 167 phi7();
166 phi8(); 168 phi8();
167 phi9(); 169 phi9();
168 } 170 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698