Chromium Code Reviews| Index: samples/tests/samples/swarm/swarm_test.dart |
| diff --git a/samples/tests/samples/swarm/swarm_test.dart b/samples/tests/samples/swarm/swarm_test.dart |
| index ff0c0544e31b6dddc0f496e75676f389954bf12b..6cab3195da24d3a41f59816e42697b66674442b3 100644 |
| --- a/samples/tests/samples/swarm/swarm_test.dart |
| +++ b/samples/tests/samples/swarm/swarm_test.dart |
| @@ -18,7 +18,7 @@ import '../../../../pkg/unittest/lib/html_config.dart'; |
| void main() { |
| useHtmlConfiguration(); |
| - Swarm swarm = new Swarm(); |
| + Swarm swarm = new Swarm(true); |
|
Jennifer Messerly
2013/01/10 02:18:10
named arg?
Emily Fortuna
2013/01/11 02:57:12
Done.
|
| UIStateProxy state = new UIStateProxy(swarm.sections); |
| swarm.state = state; |
| swarm.run(); |
| @@ -56,7 +56,7 @@ void main() { |
| // transition end event before we can click a story. |
| SectionView section = getView(swarm.sections[0]); |
| section.showSources(); |
| - }, |
| + }, |
| () { |
| final item = swarm.sections[0].feeds[2].articles[1]; |
| state.loadFromHistory(getHistory(item)); |