Skip to content

Commit 5f66bd9

Browse files
committed
Make assertion for "Uncaught Exception" case-insensitive
1 parent 055a6cc commit 5f66bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ describe('PHP Debug Adapter', () => {
267267
const fatalErrorScope = await getErrorScope();
268268
assert.propertyVal(fatalErrorScope, 'name', 'Fatal error');
269269
assert.propertyVal(fatalErrorScope, 'type', 'Fatal error');
270-
assert.match(fatalErrorScope.message, /^"Uncaught Exception/);
270+
assert.match(fatalErrorScope.message, /^"Uncaught Exception/i);
271271
assert.match(fatalErrorScope.message, /this is an exception/);
272272
assert.match(fatalErrorScope.message, /"$/);
273273
});

0 commit comments

Comments
 (0)