Skip to content

Commit 45980eb

Browse files
committed
more test adjustments
1 parent 8332eb1 commit 45980eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/adapter-vercel/test/utils.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ test('pattern_to_src for route with optional parameter in the middle', () => {
124124
});
125125

126126
test('pattern_to_src for route with rest parameter', () => {
127-
run_pattern_to_src_test('/foo/[...bar]', '^/foo(/.*)?/?');
127+
run_pattern_to_src_test('/foo/[...bar]', '^/foo(/[^]*)?/?');
128128
});
129129

130130
test('pattern_to_src for route with rest parameter in the middle', () => {
131-
run_pattern_to_src_test('/foo/[...bar]/baz', '^/foo(/.*)?/baz/?');
131+
run_pattern_to_src_test('/foo/[...bar]/baz', '^/foo(/[^]*)?/baz/?');
132132
});

0 commit comments

Comments
 (0)