Index: runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart |
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart |
index 4e077f281b6dda4cab9bc781db2c845daceb2d19..b9bbd3df01f53d610a194fa81ce409dcf823c623 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart |
@@ -8,8 +8,8 @@ class MegamorphicCacheRefMock implements M.MegamorphicCacheRef { |
final String id; |
final String selector; |
- const MegamorphicCacheRefMock( |
- {this.id: 'megamorphiccache-id', this.selector: 'selector'}); |
+ const MegamorphicCacheRefMock({this.id : 'megamorphiccache-id', |
+ this.selector: 'selector'}); |
} |
class MegamorphicCacheMock implements M.MegamorphicCache { |
@@ -22,13 +22,12 @@ class MegamorphicCacheMock implements M.MegamorphicCache { |
final M.InstanceRef buckets; |
final M.InstanceRef argumentsDescriptor; |
- const MegamorphicCacheMock( |
- {this.id: 'megamorphiccache-id', |
- this.vmName: 'megamorphiccache-vmName', |
- this.clazz: const ClassRefMock(), |
- this.size: 1, |
- this.selector: 'selector', |
- this.mask: 0, |
- this.buckets: const InstanceRefMock(), |
- this.argumentsDescriptor: const InstanceRefMock()}); |
+ const MegamorphicCacheMock({this.id : 'megamorphiccache-id', |
+ this.vmName: 'megamorphiccache-vmName', |
+ this.clazz: const ClassRefMock(), |
+ this.size: 1, this.selector: 'selector', |
+ this.mask: 0, |
+ this.buckets: const InstanceRefMock(), |
+ this.argumentsDescriptor: const InstanceRefMock() |
+ }); |
} |