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

Side by Side Diff: tests/compiler/dart2js_extra/phi_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
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
7 void phi1() { 5 void phi1() {
8 var x = 42; 6 var x = 42;
9 if (true) { 7 if (true) {
10 Expect.equals(42, x); 8 Expect.equals(42, x);
11 print(x); 9 print(x);
12 } 10 }
13 Expect.equals(42, x); 11 Expect.equals(42, x);
14 print(x); 12 print(x);
15 } 13 }
16 14
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 phi1(); 159 phi1();
162 phi2(); 160 phi2();
163 phi3(); 161 phi3();
164 phi4(); 162 phi4();
165 phi5(); 163 phi5();
166 phi6(); 164 phi6();
167 phi7(); 165 phi7();
168 phi8(); 166 phi8();
169 phi9(); 167 phi9();
170 } 168 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js_extra/phi_gvn_test.dart ('k') | tests/compiler/dart2js_extra/regress/4492_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698