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

Unified Diff: tests/language/assert_with_type_test_or_cast_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/assert_with_type_test_or_cast_test.dart
diff --git a/tests/language/assert_with_type_test_or_cast_test.dart b/tests/language/assert_with_type_test_or_cast_test.dart
index f9ec08bebfb15ed86061202743959c4a645bac84..85a18ec9d6b2b7ff63e47e86caa47c2882d2c11b 100644
--- a/tests/language/assert_with_type_test_or_cast_test.dart
+++ b/tests/language/assert_with_type_test_or_cast_test.dart
@@ -12,17 +12,17 @@
// VMOptions=--enable_asserts
main() {
- var names = new List<int>();
+ var names = new List<int>();
- // Generic type test.
- assert(names is List<int>);
+ // Generic type test.
+ assert(names is List<int>);
- // Negated generic type test.
- assert(names is !List<String>);
+ // Negated generic type test.
+ assert(names is! List<String>);
- // Generic type cast.
- assert((names as List<num>).length == 0);
+ // Generic type cast.
+ assert((names as List<num>).length == 0);
- // Generic type test inside expression.
- assert((names is List<int>));
+ // Generic type test inside expression.
+ assert((names is List<int>));
}

Powered by Google App Engine
This is Rietveld 408576698