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

Side by Side Diff: tests/compiler/dart2js_extra/regression_2913_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) 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 main() { 5 main() {
8 var a = 10; 6 var a = 10;
9 var b = 11; 7 var b = 11;
10 8
11 for (var i = 0; i < 1; i++) { 9 for (var i = 0; i < 1; i++) {
12 print('--------'); 10 print('--------');
13 print('a $a'); 11 print('a $a');
14 print('b $b'); 12 print('b $b');
15 var t = 1; 13 var t = 1;
16 if (i < 20) { 14 if (i < 20) {
17 t = 2; 15 t = 2;
18 } 16 }
19 17
20 b = a; 18 b = a;
21 a = t; 19 a = t;
22 } 20 }
23 Expect.equals(2, a); 21 Expect.equals(2, a);
24 Expect.equals(10, b); 22 Expect.equals(10, b);
25 } 23 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js_extra/regress/4740_test.dart ('k') | tests/compiler/dart2js_extra/return_setter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698