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

Side by Side Diff: tests/language/function_subtype_local0_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 // Dart test program for constructors and initializers. 4 // Dart test program for constructors and initializers.
5 5
6 // Check function subtyping for local functions. 6 // Check function subtyping for local functions.
7 7
8 import 'package:expect/expect.dart'; 8 import 'package:expect/expect.dart';
9 9
10 typedef int Foo(bool a, [String b]); 10 typedef int Foo(bool a, [String b]);
(...skipping 13 matching lines...) Expand all
24 24
25 Expect.isFalse(baz is Foo, 'baz is Foo'); 25 Expect.isFalse(baz is Foo, 'baz is Foo');
26 Expect.isFalse(baz is Bar, 'baz is Bar'); 26 Expect.isFalse(baz is Bar, 'baz is Bar');
27 Expect.isTrue(baz is Baz, 'baz is Baz'); 27 Expect.isTrue(baz is Baz, 'baz is Baz');
28 Expect.isTrue(baz is Boz, 'baz is Boz'); 28 Expect.isTrue(baz is Boz, 'baz is Boz');
29 29
30 Expect.isFalse(boz is Foo, 'boz is Foo'); 30 Expect.isFalse(boz is Foo, 'boz is Foo');
31 Expect.isFalse(boz is Bar, 'boz is Bar'); 31 Expect.isFalse(boz is Bar, 'boz is Bar');
32 Expect.isFalse(boz is Baz, 'boz is Baz'); 32 Expect.isFalse(boz is Baz, 'boz is Baz');
33 Expect.isTrue(boz is Boz, 'boz is Boz'); 33 Expect.isTrue(boz is Boz, 'boz is Boz');
34 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698