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

Unified Diff: tests/language_strong/function_type_alias3_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 side-by-side diff with in-line comments
Download patch
Index: tests/language_strong/function_type_alias3_test.dart
diff --git a/tests/language_strong/function_type_alias3_test.dart b/tests/language_strong/function_type_alias3_test.dart
index 043c02e5b8d6f7c5f9c0ceb32b8f841a93b5e8ba..740ae3c432c0f134ac3a7fe863c24197c6b25501 100644
--- a/tests/language_strong/function_type_alias3_test.dart
+++ b/tests/language_strong/function_type_alias3_test.dart
@@ -6,15 +6,15 @@
// to have the same name as a type parameter.
library main;
+
import "package:expect/expect.dart";
import "library11.dart" as lib11;
-typedef lib11.Library111<Library111>
- F<Library111>(lib11.Library111<Library111> a, Library111 b);
+typedef lib11.Library111<Library111> F<Library111>(
+ lib11.Library111<Library111> a, Library111 b);
class A<T> {
- T foo(T a, bool b) {
- }
+ T foo(T a, bool b) {}
}
main() {
@@ -22,8 +22,8 @@ main() {
var b = new A<lib11.Library111<int>>();
Expect.isTrue(a.foo is F);
Expect.isTrue(a.foo is F<bool>);
- Expect.isTrue(a.foo is !F<int>);
+ Expect.isTrue(a.foo is! F<int>);
Expect.isTrue(b.foo is F);
- Expect.isTrue(b.foo is !F<bool>);
- Expect.isTrue(a.foo is !F<int>);
+ Expect.isTrue(b.foo is! F<bool>);
+ Expect.isTrue(a.foo is! F<int>);
}

Powered by Google App Engine
This is Rietveld 408576698