Skip to content

Commit e84f11f

Browse files
author
James Hutchby
committed
expect 755 instead of 777
1 parent 651d46e commit e84f11f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pgdump.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ describe('pgdump', () => {
5454

5555
// eslint-disable-next-line no-bitwise
5656
const permString = '0' + (stat.mode & 0o777).toString(8)
57-
expect(permString).to.equal('0777')
58-
if (permString !== '0777') {
57+
expect(permString).to.equal('0755')
58+
if (permString !== '0755') {
5959
throw new Error('binary ' + binaryPath + ' is not executable')
6060
}
6161
})

0 commit comments

Comments
 (0)