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

Unified Diff: tests/language/type_conversion_ssa_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/type_conversion_ssa_test.dart
diff --git a/tests/language/type_conversion_ssa_test.dart b/tests/language/type_conversion_ssa_test.dart
index 8a1230c187934a2b4ab73cfd0b32658b2cc42216..2a721b78eb6c6d3f3a0d686967babbd10c4f9681 100644
--- a/tests/language/type_conversion_ssa_test.dart
+++ b/tests/language/type_conversion_ssa_test.dart
@@ -19,12 +19,14 @@ expect(a, b) {
if (a != b) throw 'Failed';
}
-var array =
- [new SelectorGroup(
- [new Selector([new SimpleSelectorSequence(new ClassSelector())]),
- new Selector([new SimpleSelectorSequence(new ClassSelector())]),
- new Selector([new SimpleSelectorSequence(new ClassSelector())])]),
- new Object()];
+var array = [
+ new SelectorGroup([
+ new Selector([new SimpleSelectorSequence(new ClassSelector())]),
+ new Selector([new SimpleSelectorSequence(new ClassSelector())]),
+ new Selector([new SimpleSelectorSequence(new ClassSelector())])
+ ]),
+ new Object()
+];
class RuleSet {
final SelectorGroup _selectorGroup;
@@ -52,8 +54,8 @@ class SimpleSelectorSequence {
}
class SimpleSelector {}
-class ClassSelector extends SimpleSelector {}
+class ClassSelector extends SimpleSelector {}
void testSelectorGroups() {
// Fetch the rule set from an array to trick the type inferrer.

Powered by Google App Engine
This is Rietveld 408576698