Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
zobo committed Aug 21, 2023
1 parent d503f7c commit 917df58
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ describe('PHP Debug Adapter', () => {
client.waitForEvent('terminated'),
])
})
;(process.platform === 'win32' ? it.skip : it)('should error on existing unix pipe', async () => {
await assert.isRejected(
client.launch({
program,
hostname: 'unix:///tmp',
runtimeArgs: ['-dxdebug.client_host=unix:///tmp'],
}),
/File .+ exists and cannot be used for Unix Domain socket/
)
})
})

describe('continuation commands', () => {
Expand Down

0 comments on commit 917df58

Please sign in to comment.