Index: client/tests/client/samples/swarm/swarm_tests.dart |
diff --git a/client/tests/client/samples/swarm/swarm_tests.dart b/client/tests/client/samples/swarm/swarm_tests.dart |
index 1d0b5e5c2706af351360916f018c62de9e8b7c87..017da3617606a6851c07bdad518614d13c71aa3a 100644 |
--- a/client/tests/client/samples/swarm/swarm_tests.dart |
+++ b/client/tests/client/samples/swarm/swarm_tests.dart |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -75,9 +75,9 @@ void main() { |
Expect.isTrue(getStoryNode().classes.contains(CSS.HIDDEN_STORY)); |
- final DataSourceView dataSourceView = |
+ final dataSourceView = |
swarm.frontView.currentSection.dataSourceView.getSubview(0); |
- var itemView = dataSourceView.itemsView.getSubview(0); |
+ final itemView = dataSourceView.itemsView.getSubview(0); |
// TODO(jacobr): remove this null check. This is likely due to tests |
// running without the correct CSS to size the window so that some items |
// are visible. |