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

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

Issue 2770063002: Revert "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) 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 library named_constructor_test; 5 library named_constructor_test;
6 6
7 import 'package:expect/expect.dart'; 7 import 'package:expect/expect.dart';
8 import 'named_constructor_lib.dart' as prefix; 8 import 'named_constructor_lib.dart' as prefix;
9 9
10 class Class<T> { 10 class Class<T> {
(...skipping 28 matching lines...) Expand all
39 // 'prefix.Class.named<int>' doesn't fit the grammar syntax T.id: 39 // 'prefix.Class.named<int>' doesn't fit the grammar syntax T.id:
40 Expect.equals(3, new prefix.Class.named<int>().value); //# 06: compile-time er ror 40 Expect.equals(3, new prefix.Class.named<int>().value); //# 06: compile-time er ror
41 // 'prefix<int>.Class<int>' doesn't fit the grammar syntax T.id: 41 // 'prefix<int>.Class<int>' doesn't fit the grammar syntax T.id:
42 Expect.equals(3, new prefix<int>.Class<int>.named().value); //# 07: compile-ti me error 42 Expect.equals(3, new prefix<int>.Class<int>.named().value); //# 07: compile-ti me error
43 // 'prefix<int>.Class.named<int>' doesn't fit the grammar syntax T.id: 43 // 'prefix<int>.Class.named<int>' doesn't fit the grammar syntax T.id:
44 Expect.equals(3, new prefix<int>.Class.named<int>().value); //# 08: compile-ti me error 44 Expect.equals(3, new prefix<int>.Class.named<int>().value); //# 08: compile-ti me error
45 // 'prefix.Class<int>.named<int>' doesn't fit the grammar syntax T.id: 45 // 'prefix.Class<int>.named<int>' doesn't fit the grammar syntax T.id:
46 Expect.equals(3, new prefix.Class<int>.named<int>().value); //# 09: compile-ti me error 46 Expect.equals(3, new prefix.Class<int>.named<int>().value); //# 09: compile-ti me error
47 // 'prefix<int>.Class<int>.named<int>' doesn't fit the grammar syntax T.id: 47 // 'prefix<int>.Class<int>.named<int>' doesn't fit the grammar syntax T.id:
48 Expect.equals(3, new prefix<int>.Class<int>.named<int>().value); //# 10: compi le-time error 48 Expect.equals(3, new prefix<int>.Class<int>.named<int>().value); //# 10: compi le-time error
49 } 49 }
OLDNEW
« no previous file with comments | « tests/language_strong/multiline_newline_test.dart ('k') | tests/language_strong/named_parameters_aggregated_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698