Fix windows test

pull/236303/head
Matt Bierner 2024-12-17 09:24:26 -08:00
parent 70dc7fc97a
commit d12587c914
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ suite('Decoration Render Options', () => {
if (platform.isWindows) {
// windows file path (used as string)
s.registerDecorationType('test', 'example', { gutterIconPath: URI.file('c:\\files\\miles\\more.png') });
assertBackground('file:///c:/files/miles/more.png', 'vscode-file://vscode-app/c:/files/miles/more.png');
assertBackground(CSS.escape('file:///c:/files/miles/more.png'), CSS.escape('vscode-file://vscode-app/c:/files/miles/more.png'));
s.removeDecorationType('example');
// single quote must always be escaped/encoded