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 f95592375c33f128b35cb2d9fc5a87b479f91281..a23c27ec08ea15f8ca3b27182a9b6b40876fe77b 100644 |
--- a/chrome/test/data/webui/md_bookmarks/reducers_test.js |
+++ b/chrome/test/data/webui/md_bookmarks/reducers_test.js |
@@ -98,6 +98,13 @@ suite('selection state', function() { |
assertDeepEquals(['2', '3'], normalizeSet(selection.items)); |
}); |
+ test('update anchor', function() { |
+ action = bookmarks.actions.updateAnchor('3'); |
+ selection = bookmarks.SelectionState.updateSelection(selection, action); |
+ |
+ assertEquals('3', selection.anchor); |
+ }); |
+ |
test('deselects items when they are deleted', function() { |
var nodeMap = testTree(createFolder('0', [ |
createFolder( |