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

Side by Side Diff: tests/language/rewrite_nested_if1_test.dart

Issue 288343014: dart2dart: Test cases for better code coverage in dart_tree rewritings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 var global; 7 var global;
8 8
9 setGlobal(v) { 9 setGlobal(v) {
10 global = v; 10 global = v;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 Expect.equals(2, global); 74 Expect.equals(2, global);
75 75
76 check_false_false(false, false, 1); 76 check_false_false(false, false, 1);
77 check_false_false(false, true, 2); 77 check_false_false(false, true, 2);
78 check_false_false(true, false, 3); 78 check_false_false(true, false, 3);
79 check_false_false(true, true, 4); 79 check_false_false(true, true, 4);
80 80
81 Expect.equals(1, global); 81 Expect.equals(1, global);
82 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698