mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
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.
This commit is contained in:
@@ -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", ->
|
||||
|
||||
Reference in New Issue
Block a user