| Index: chrome/test/data/webui/md_bookmarks/reducers_test.js
|
| diff --git a/chrome/test/data/webui/md_bookmarks/reducers_test.js b/chrome/test/data/webui/md_bookmarks/reducers_test.js
|
| index c4a34f7e50712e28310ea0633bbbf503086b9fe6..5c779842428dea6fbe605f1c23670c4c57c226ca 100644
|
| --- a/chrome/test/data/webui/md_bookmarks/reducers_test.js
|
| +++ b/chrome/test/data/webui/md_bookmarks/reducers_test.js
|
| @@ -341,6 +341,13 @@ suite('node state', function() {
|
| assertDeepEquals(['2', '3'], state['1'].children);
|
| assertDeepEquals(['4'], state['5'].children);
|
| });
|
| +
|
| + test('updates when children of a node are reordered', function() {
|
| + action = bookmarks.actions.reorderChildren('1', ['4', '2', '3']);
|
| + state = bookmarks.NodeState.updateNodes(state, action);
|
| +
|
| + assertDeepEquals(['4', '2', '3'], state['1'].children);
|
| + });
|
| });
|
|
|
| suite('search state', function() {
|
|
|