From d746c7566cdbdb2cbdf3c4e01798ada9a8626cbe Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 18 Jul 2013 14:29:21 -0700 Subject: [PATCH] Fix `CommandPanel` spec I added a new sample-with-comments.js file which has more matches for 'sort', so the test needed to be updated. --- src/packages/command-panel/spec/command-panel-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/command-panel/spec/command-panel-spec.coffee b/src/packages/command-panel/spec/command-panel-spec.coffee index 81514bf37..9485d8b78 100644 --- a/src/packages/command-panel/spec/command-panel-spec.coffee +++ b/src/packages/command-panel/spec/command-panel-spec.coffee @@ -453,7 +453,7 @@ describe "CommandPanel", -> it "displays the number of files and operations", -> rootView.attachToDom() - expect(commandPanel.previewCount.text()).toBe '17 matches in 4 files' + expect(commandPanel.previewCount.text()).toBe '22 matches in 5 files' describe "when move-down and move-up are triggered on the preview list", -> it "selects the next/previous operation (if there is one), and scrolls the list if needed", ->