mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Fix broken specs
This commit is contained in:
@@ -128,9 +128,8 @@
|
||||
dispatch_async(backgroundQueue, ^{
|
||||
NSFileManager *fm = [NSFileManager defaultManager];
|
||||
|
||||
NSMutableArray *paths;
|
||||
NSMutableArray *paths = [NSMutableArray array];
|
||||
if (recursive) {
|
||||
paths = [NSMutableArray array];
|
||||
NSDirectoryEnumerator *enumerator = [fm enumeratorAtPath:path];
|
||||
|
||||
NSString *subpath;
|
||||
|
||||
@@ -6,7 +6,7 @@ describe "fs", ->
|
||||
directoryPath = null
|
||||
beforeEach -> directoryPath = require.resolve 'fixtures/file-finder-dir'
|
||||
|
||||
fdescribe "when recursive is true", ->
|
||||
describe "when recursive is true", ->
|
||||
it "returns a promise that resolves to the recursive contents of that directory", ->
|
||||
waitsFor (complete) ->
|
||||
fs.async.list(directoryPath, true).done (result) ->
|
||||
|
||||
Reference in New Issue
Block a user