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

Side by Side Diff: tests/language_strong/multiline_newline_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 import 'multiline_newline_cr.dart' as cr; 6 import 'multiline_newline_cr.dart' as cr;
7 import 'multiline_newline_crlf.dart' as crlf; 7 import 'multiline_newline_crlf.dart' as crlf;
8 import 'multiline_newline_lf.dart' as lf; 8 import 'multiline_newline_lf.dart' as lf;
9 9
10 main() { 10 main() {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 crlf.constantMultilineString != lf.constantMultilineString ? true : null; 47 crlf.constantMultilineString != lf.constantMultilineString ? true : null;
48 const c9 = 48 const c9 =
49 lf.constantMultilineString != cr.constantMultilineString ? true : null; 49 lf.constantMultilineString != cr.constantMultilineString ? true : null;
50 Expect.isNull(c7); 50 Expect.isNull(c7);
51 Expect.isNull(c8); 51 Expect.isNull(c8);
52 Expect.isNull(c9); 52 Expect.isNull(c9);
53 53
54 const c10 = c7 ? 1 : 2; // //# 04: compile-time error 54 const c10 = c7 ? 1 : 2; // //# 04: compile-time error
55 const c11 = c8 ? 2 : 3; // //# 05: compile-time error 55 const c11 = c8 ? 2 : 3; // //# 05: compile-time error
56 const c12 = c9 ? 3 : 4; // //# 06: compile-time error 56 const c12 = c9 ? 3 : 4; // //# 06: compile-time error
57 } 57 }
OLDNEW
« no previous file with comments | « tests/language_strong/mixin_type_variable_test.dart ('k') | tests/language_strong/named_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698