Skip to content

Commit 1f3df1b

Browse files
committed
CCR feedback
1 parent 952515c commit 1f3df1b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/common/utils.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ describe('utils', () => {
134134
});
135135

136136
it('should escape HTML special characters in file paths', async () => {
137-
const html = makePermalink('src/file&name"test.ts', 10);
137+
const html = makePermalink('src/file&name-test.ts', 10);
138138
const result = await utils.processPermalinks(html, repoName, authority, async () => true);
139139

140-
assert(result.includes('data-local-file="src/file&name"test.ts"'));
141-
assert(!result.includes('data-local-file="src/file&name"test.ts"'));
140+
assert(result.includes('data-local-file="src/file&name-test.ts"'));
141+
assert(!result.includes('data-local-file="src/file&name-test.ts"'));
142142
});
143143
});
144144

0 commit comments

Comments
 (0)