Skip to content

Commit 505bccf

Browse files
committed
test(router): fix Simple capturing group test
1 parent e1ae0eb commit 505bccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/router/common.case.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ export const runTest = ({
777777
describe('Capture Group', () => {
778778
describe('Simple capturing group', () => {
779779
beforeEach(() => {
780-
router.add('get', '/foo/:capture{(?:bar|baz)}', 'ok')
780+
router.add('get', '/foo/:capture{(bar|baz)}', 'ok')
781781
})
782782

783783
it('GET /foo/bar', () => {

0 commit comments

Comments
 (0)