Skip to content

Commit cee3e46

Browse files
Cautiously changing spec
1 parent a796b38 commit cee3e46

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

spec/git-spec.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,6 @@ describe('git', () => {
10171017
it("returns whether the given path is the repository's working directory", () => {
10181018
repo = git.open(__dirname)
10191019
let workingDirectory = repo.getWorkingDirectory()
1020-
console.log('workingDirectory is somehow:', workingDirectory);
10211020

10221021
expect(repo.isWorkingDirectory(workingDirectory)).toBe(true)
10231022
expect(repo.isWorkingDirectory()).toBe(false)
@@ -1034,10 +1033,10 @@ describe('git', () => {
10341033
console.log('Comparing repo directory:', repoDirectory, 'to working directory:', workingDirectory);
10351034

10361035
console.log('Just a HUNCH:', fs.realpathSync.native(repoDirectory), 'from', repoDirectory);
1037-
if (process.platform === 'win32') {
1036+
// if (process.platform === 'win32') {
10381037
expect(repo.isWorkingDirectory(repoDirectory)).toBe(true)
10391038
expect(repo.isWorkingDirectory(workingDirectory.toUpperCase())).toBe(true)
1040-
}
1039+
// }
10411040

10421041
})
10431042
})

0 commit comments

Comments
 (0)