mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Failing test.
This commit is contained in:
@@ -590,6 +590,12 @@ describe('GitRepositoryAsync', () => {
|
||||
const relativizedPath = repo.relativize(`${workdir}/a/b.txt`, workdir)
|
||||
expect(relativizedPath).toBe('a/b.txt')
|
||||
})
|
||||
|
||||
it('preserves file case', () => {
|
||||
const workdir = '/tmp/foo/bar/baz/'
|
||||
const relativizedPath = repo.relativize(`${workdir}a/README.txt`, workdir)
|
||||
expect(relativizedPath).toBe('a/README.txt')
|
||||
})
|
||||
})
|
||||
|
||||
describe('.getShortHead(path)', () => {
|
||||
|
||||
Reference in New Issue
Block a user