Skip to content

Commit 5aa2f1d

Browse files
committed
minor cleanups
1 parent 91705d6 commit 5aa2f1d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎e2e/react-router/basic-file-based/src/routes/non-nested/prefix/prefix{$baz}_.bar.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function RouteComponent() {
99
return (
1010
<div>
1111
<div data-testid="non-nested-prefix-baz-bar-heading">
12-
Hello non-nested wildcard bar
12+
Hello non-nested prefix bar
1313
</div>
1414
<div data-testid="non-nested-prefix-baz-bar-param">
1515
{JSON.stringify(params)}

‎e2e/solid-router/basic-file-based/src/routes/non-nested/prefix/prefix{$baz}_.bar.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function RouteComponent() {
99
return (
1010
<div>
1111
<div data-testid="non-nested-prefix-baz-bar-heading">
12-
Hello non-nested wildcard bar
12+
Hello non-nested prefix bar
1313
</div>
1414
<div data-testid="non-nested-prefix-baz-bar-param">
1515
{JSON.stringify(params())}

‎packages/router-core/tests/path.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ describe('non-nested paths', async () => {
11681168
describe('resolvePath', () => {
11691169
describe.each([
11701170
['/', '/', '/a_', '/a'],
1171-
['/', '/', 'a/', '/a'],
1171+
['/', '/', 'a_/', '/a'],
11721172
['/', '/', '/a_/b_', '/a/b'],
11731173
['/', 'a', 'b_', '/a/b'],
11741174
['/a/b', 'c', '/a/b/c_', '/a/b/c'],
@@ -1361,7 +1361,7 @@ describe('non-nested paths', async () => {
13611361
},
13621362
{
13631363
name: 'with nested prefix + suffix',
1364-
to: '/params/named/prefix{$foo}suffix',
1364+
to: '/params_/named_/prefix{$foo}suffix_',
13651365
expected: '/params/named/prefix{$foo}suffix',
13661366
},
13671367
])('$name', ({ to, expected }) => {

0 commit comments

Comments
 (0)