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

Side by Side Diff: tests/language/argument_definition3_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 new Param.test1(false); 6 new Param.test1(false);
9 new Param.test1(true, 42); 7 new Param.test1(true, 42);
10 8
11 new Param.test2(false); 9 new Param.test2(false);
12 new Param.test2(true, 42); 10 new Param.test2(true, 42);
13 11
14 new Param.test3(false); 12 new Param.test3(false);
15 new Param.test3(true, 42); 13 new Param.test3(true, 42);
16 14
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 67
70 Param.test6(passed, [int a = 0]) : field = ?a, otherField = a++ { 68 Param.test6(passed, [int a = 0]) : field = ?a, otherField = a++ {
71 Expect.equals(passed, ?a); 69 Expect.equals(passed, ?a);
72 Expect.equals(passed, field); 70 Expect.equals(passed, field);
73 Expect.equals(passed ? 43 : 1, a); 71 Expect.equals(passed ? 43 : 1, a);
74 } 72 }
75 73
76 Param.test7() : super.withUpdate(true, 42); 74 Param.test7() : super.withUpdate(true, 42);
77 Param.test8() : super.withUpdate(false); 75 Param.test8() : super.withUpdate(false);
78 } 76 }
OLDNEW
« no previous file with comments | « tests/language/argument_definition2_test.dart ('k') | tests/language/argument_definition4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698