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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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 main() { 7 main() {
6 var a = 10; 8 var a = 10;
7 var b = 11; 9 var b = 11;
8 10
9 for (var i = 0; i < 1; i++) { 11 for (var i = 0; i < 1; i++) {
10 print('--------'); 12 print('--------');
11 print('a $a'); 13 print('a $a');
12 print('b $b'); 14 print('b $b');
13 var t = 1; 15 var t = 1;
14 if (i < 20) { 16 if (i < 20) {
15 t = 2; 17 t = 2;
16 } 18 }
17 19
18 b = a; 20 b = a;
19 a = t; 21 a = t;
20 } 22 }
21 Expect.equals(2, a); 23 Expect.equals(2, a);
22 Expect.equals(10, b); 24 Expect.equals(10, b);
23 } 25 }
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