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

Unified Diff: tests/language_strong/implied_interface_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/implied_interface_test.dart
diff --git a/tests/language_strong/implied_interface_test.dart b/tests/language_strong/implied_interface_test.dart
index 36acb25c4531a5be41be4c9f74f074f775d2bad7..554579fa17ea874ea0efbd43116504f832e60688 100644
--- a/tests/language_strong/implied_interface_test.dart
+++ b/tests/language_strong/implied_interface_test.dart
@@ -6,7 +6,9 @@ import "package:expect/expect.dart";
class BaseClass {
var foo;
- BaseClass() { foo = 0; }
+ BaseClass() {
+ foo = 0;
+ }
toString() => "BaseClass";
}
@@ -46,10 +48,10 @@ main() {
// Expected error.
}
Expect.equals(true, c1 is BaseClass);
- Expect.equals(true, c1 is !ExtendsClass);
+ Expect.equals(true, c1 is! ExtendsClass);
Expect.equals(true, c2 is BaseClass);
Expect.equals(true, c2 is ExtendsClass);
- Expect.equals(true, c2 is !ImplementsClass);
+ Expect.equals(true, c2 is! ImplementsClass);
Expect.equals("BaseClass", "${new BaseClass()}");
// Verify we don't inherit toString from BaseClass

Powered by Google App Engine
This is Rietveld 408576698