We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1ae0eb + 505bccf commit 4587337Copy full SHA for 4587337
1 file changed
src/router/common.case.test.ts
@@ -777,7 +777,7 @@ export const runTest = ({
777
describe('Capture Group', () => {
778
describe('Simple capturing group', () => {
779
beforeEach(() => {
780
- router.add('get', '/foo/:capture{(?:bar|baz)}', 'ok')
+ router.add('get', '/foo/:capture{(bar|baz)}', 'ok')
781
})
782
783
it('GET /foo/bar', () => {
0 commit comments