mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
rename listFiles to list
This commit is contained in:
@@ -29,9 +29,9 @@ describe "fs", ->
|
||||
fs.async.listTree(directoryPath).done (result) ->
|
||||
expect(result).toEqual fs.listTree(directoryPath)
|
||||
|
||||
describe ".listFiles(directoryPath)", ->
|
||||
describe ".list(directoryPath)", ->
|
||||
it "returns a promise that resolves to the contents of that directory", ->
|
||||
waitsForPromise ->
|
||||
fs.async.listFiles(directoryPath).done (result) ->
|
||||
fs.async.list(directoryPath).done (result) ->
|
||||
expect(result).toEqual fs.list(directoryPath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user