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

Side by Side Diff: tests/corelib_strong/date_time9_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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"; 5 import "package:expect/expect.dart";
6 6
7 main() { 7 main() {
8 var dt = new DateTime.now(); 8 var dt = new DateTime.now();
9 Expect.isTrue(dt is Comparable); 9 Expect.isTrue(dt is Comparable);
10 10
(...skipping 15 matching lines...) Expand all
26 Expect.isTrue(dt3.compareTo(dt3b) == 0); 26 Expect.isTrue(dt3.compareTo(dt3b) == 0);
27 Expect.isTrue(dt5.compareTo(dt5b) == 0); 27 Expect.isTrue(dt5.compareTo(dt5b) == 0);
28 28
29 Expect.isTrue(dt2.compareTo(dt3) < 0); 29 Expect.isTrue(dt2.compareTo(dt3) < 0);
30 Expect.isTrue(dt3.compareTo(dt4) < 0); 30 Expect.isTrue(dt3.compareTo(dt4) < 0);
31 Expect.isTrue(dt4.compareTo(dt5) < 0); 31 Expect.isTrue(dt4.compareTo(dt5) < 0);
32 32
33 Expect.isTrue(dt2.compareTo(dt3b) < 0); 33 Expect.isTrue(dt2.compareTo(dt3b) < 0);
34 Expect.isTrue(dt4.compareTo(dt5b) < 0); 34 Expect.isTrue(dt4.compareTo(dt5b) < 0);
35 35
36 Expect.isTrue(dt3.compareTo(dt2) > 0); 36 Expect.isTrue(dt3.compareTo(dt2) > 0);
37 Expect.isTrue(dt4.compareTo(dt3) > 0); 37 Expect.isTrue(dt4.compareTo(dt3) > 0);
38 Expect.isTrue(dt5.compareTo(dt4) > 0); 38 Expect.isTrue(dt5.compareTo(dt4) > 0);
39 39
40 Expect.isTrue(dt3b.compareTo(dt2) > 0); 40 Expect.isTrue(dt3b.compareTo(dt2) > 0);
41 Expect.isTrue(dt5b.compareTo(dt4) > 0); 41 Expect.isTrue(dt5b.compareTo(dt4) > 0);
42 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698