mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
Fix git specs when running under symbolic path.
This commit is contained in:
@@ -187,6 +187,7 @@ describe "Git", ->
|
||||
newPath = atom.project.resolve('git/working-dir/untracked.txt')
|
||||
cleanPath = atom.project.resolve('git/working-dir/other.txt')
|
||||
fs.writeFileSync(newPath, '')
|
||||
newPath = fs.absolute newPath # specs could be running under symbol path.
|
||||
|
||||
afterEach ->
|
||||
fs.writeFileSync(modifiedPath, originalModifiedPathText)
|
||||
|
||||
Reference in New Issue
Block a user