mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 07:58:04 +03:00
Fix an assertion that was failing but was being reported as part of the wrong test.
This commit is contained in:
parent
5b03cfe878
commit
485a4deb83
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user