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

Unified Diff: tests/language_strong/is_operator_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/is_operator_test.dart
diff --git a/tests/language_strong/is_operator_test.dart b/tests/language_strong/is_operator_test.dart
index e5b0792b691b91236da758f821c0a9a9abfcfb5b..a934dc1e97fa2a693b7e8238b53d71c8ed5dfe24 100644
--- a/tests/language_strong/is_operator_test.dart
+++ b/tests/language_strong/is_operator_test.dart
@@ -5,9 +5,9 @@
import "package:expect/expect.dart";
-abstract class I { }
+abstract class I {}
-abstract class AI implements I { }
+abstract class AI implements I {}
class A implements AI {
const A();
@@ -27,44 +27,44 @@ class IsOperatorTest {
var b = new B();
var c = new C();
var n = null;
- Expect.equals(true, a is A);
- Expect.equals(false, a is !A);
- Expect.equals(true, b is B);
- Expect.equals(false, b is !B);
- Expect.equals(true, c is C);
- Expect.equals(false, c is !C);
- Expect.equals(true, c is A);
- Expect.equals(false, c is !A);
+ Expect.equals(true, a is A);
+ Expect.equals(false, a is! A);
+ Expect.equals(true, b is B);
+ Expect.equals(false, b is! B);
+ Expect.equals(true, c is C);
+ Expect.equals(false, c is! C);
+ Expect.equals(true, c is A);
+ Expect.equals(false, c is! A);
- Expect.equals(true, a is AI);
- Expect.equals(false, a is !AI);
- Expect.equals(true, a is I);
- Expect.equals(false, a is !I);
+ Expect.equals(true, a is AI);
+ Expect.equals(false, a is! AI);
+ Expect.equals(true, a is I);
+ Expect.equals(false, a is! I);
Expect.equals(false, b is AI);
- Expect.equals(true, b is !AI);
- Expect.equals(true, b is I);
- Expect.equals(false, b is !I);
- Expect.equals(true, c is AI);
- Expect.equals(false, c is !AI);
- Expect.equals(true, c is I);
- Expect.equals(false, c is !I);
+ Expect.equals(true, b is! AI);
+ Expect.equals(true, b is I);
+ Expect.equals(false, b is! I);
+ Expect.equals(true, c is AI);
+ Expect.equals(false, c is! AI);
+ Expect.equals(true, c is I);
+ Expect.equals(false, c is! I);
Expect.equals(false, n is AI);
- Expect.equals(true, n is !AI);
+ Expect.equals(true, n is! AI);
Expect.equals(false, n is I);
- Expect.equals(true, n is !I);
+ Expect.equals(true, n is! I);
Expect.equals(false, a is B);
- Expect.equals(true, a is !B);
+ Expect.equals(true, a is! B);
Expect.equals(false, a is C);
- Expect.equals(true, a is !C);
+ Expect.equals(true, a is! C);
Expect.equals(false, b is A);
- Expect.equals(true, b is !A);
+ Expect.equals(true, b is! A);
Expect.equals(false, b is C);
- Expect.equals(true, b is !C);
+ Expect.equals(true, b is! C);
Expect.equals(false, c is B);
- Expect.equals(true, c is !B);
+ Expect.equals(true, c is! B);
Expect.equals(false, n is A);
- Expect.equals(true, n is !A);
+ Expect.equals(true, n is! A);
Expect.equals(false, null is A);
Expect.equals(false, null is B);
@@ -72,11 +72,11 @@ class IsOperatorTest {
Expect.equals(false, null is AI);
Expect.equals(false, null is I);
- Expect.equals(true, null is !A);
- Expect.equals(true, null is !B);
- Expect.equals(true, null is !C);
- Expect.equals(true, null is !AI);
- Expect.equals(true, null is !I);
+ Expect.equals(true, null is! A);
+ Expect.equals(true, null is! B);
+ Expect.equals(true, null is! C);
+ Expect.equals(true, null is! AI);
+ Expect.equals(true, null is! I);
}
}

Powered by Google App Engine
This is Rietveld 408576698