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

Unified Diff: tests/language_strong/instanceof3_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/instanceof3_test.dart
diff --git a/tests/language_strong/instanceof3_test.dart b/tests/language_strong/instanceof3_test.dart
index ccc00e4cefe20ea8694c3041dd4c781797243530..d1fdec6b0b1849f7f2778fd5ebf311c5be20d42b 100644
--- a/tests/language_strong/instanceof3_test.dart
+++ b/tests/language_strong/instanceof3_test.dart
@@ -24,7 +24,7 @@ testAll() {
bool got_type_error = false;
var x = null;
try {
- Expect.isTrue(x is UndeclaredType); // x is null.
+ Expect.isTrue(x is UndeclaredType); // x is null.
} on TypeError catch (error) {
got_type_error = true;
}
@@ -35,7 +35,7 @@ testAll() {
bool got_type_error = false;
var x = 1;
try {
- Expect.isTrue(x is UndeclaredType); // x is not null.
+ Expect.isTrue(x is UndeclaredType); // x is not null.
} on TypeError catch (error) {
got_type_error = true;
}
@@ -46,7 +46,7 @@ testAll() {
bool got_type_error = false;
var x = null;
try {
- Expect.isFalse(x is List<UndeclaredType>); // x is null.
+ Expect.isFalse(x is List<UndeclaredType>); // x is null.
} on TypeError catch (error) {
got_type_error = true;
}
@@ -57,7 +57,7 @@ testAll() {
bool got_type_error = false;
var x = 1;
try {
- Expect.isFalse(x is List<UndeclaredType>); // x is not a List.
+ Expect.isFalse(x is List<UndeclaredType>); // x is not a List.
} on TypeError catch (error) {
got_type_error = true;
}
@@ -68,7 +68,7 @@ testAll() {
bool got_type_error = false;
var x = new List();
try {
- Expect.isTrue(x is List<UndeclaredType>); // x is a List<dynamic>.
+ Expect.isTrue(x is List<UndeclaredType>); // x is a List<dynamic>.
} on TypeError catch (error) {
got_type_error = true;
}
@@ -79,7 +79,7 @@ testAll() {
bool got_type_error = false;
var x = new List<int>();
try {
- Expect.isTrue(x is List<UndeclaredType>); // x is a List<int>.
+ Expect.isTrue(x is List<UndeclaredType>); // x is a List<int>.
} on TypeError catch (error) {
got_type_error = true;
}

Powered by Google App Engine
This is Rietveld 408576698