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

Unified Diff: tests/corelib_strong/is_operator_basic_types_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/corelib_strong/is_operator_basic_types_test.dart
diff --git a/tests/corelib_strong/is_operator_basic_types_test.dart b/tests/corelib_strong/is_operator_basic_types_test.dart
index 4c0aea93d97099a08f4c37dcdcfbf4c5f8032675..772afb2fb507317ea30c20bc0c590f5df953cb08 100644
--- a/tests/corelib_strong/is_operator_basic_types_test.dart
+++ b/tests/corelib_strong/is_operator_basic_types_test.dart
@@ -17,11 +17,11 @@ check(args) {
Expect.isFalse(list is Pattern);
Expect.isFalse(list is String);
- Expect.isFalse(list is !List);
- Expect.isFalse(list is !Iterable);
- Expect.isTrue(list is !Comparable);
- Expect.isTrue(list is !Pattern);
- Expect.isTrue(list is !String);
+ Expect.isFalse(list is! List);
+ Expect.isFalse(list is! Iterable);
+ Expect.isTrue(list is! Comparable);
+ Expect.isTrue(list is! Pattern);
+ Expect.isTrue(list is! String);
Expect.isTrue(string is Object);
Expect.isFalse(string is List);
@@ -30,11 +30,11 @@ check(args) {
Expect.isTrue(string is Pattern);
Expect.isTrue(string is String);
- Expect.isTrue(string is !List);
- Expect.isTrue(string is !Iterable);
- Expect.isFalse(string is !Comparable);
- Expect.isFalse(string is !Pattern);
- Expect.isFalse(string is !String);
+ Expect.isTrue(string is! List);
+ Expect.isTrue(string is! Iterable);
+ Expect.isFalse(string is! Comparable);
+ Expect.isFalse(string is! Pattern);
+ Expect.isFalse(string is! String);
Expect.isTrue(nullObject is Object);
Expect.isFalse(nullObject is List);
@@ -43,11 +43,11 @@ check(args) {
Expect.isFalse(nullObject is Pattern);
Expect.isFalse(nullObject is String);
- Expect.isTrue(nullObject is !List);
- Expect.isTrue(nullObject is !Iterable);
- Expect.isTrue(nullObject is !Comparable);
- Expect.isTrue(nullObject is !Pattern);
- Expect.isTrue(nullObject is !String);
+ Expect.isTrue(nullObject is! List);
+ Expect.isTrue(nullObject is! Iterable);
+ Expect.isTrue(nullObject is! Comparable);
+ Expect.isTrue(nullObject is! Pattern);
+ Expect.isTrue(nullObject is! String);
}
main() {

Powered by Google App Engine
This is Rietveld 408576698