mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Fix an assertion that was failing but was being reported as part of the wrong test.
This commit is contained in:
@@ -231,7 +231,7 @@ describe "Project", ->
|
||||
runs ->
|
||||
dirPath = directory.getRealPathSync()
|
||||
expect(the_result).toBeInstanceOf GitRepository
|
||||
expect(the_result.getWorkingDirectory()).toBe path.join(dirPath, '.git')
|
||||
expect(the_result.getPath()).toBe path.join(dirPath, '.git')
|
||||
|
||||
expect(atom.project.repositoryPromisesByPath.size).toBe 1
|
||||
expect(atom.project.repositoryPromisesByPath.get dirPath).toBe the_promise
|
||||
|
||||
Reference in New Issue
Block a user