Skip to content

Commit 6fe85cd

Browse files
committed
Fix test
1 parent fb594e3 commit 6fe85cd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/vs/editor/test/browser/services/decorationRenderOptions.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ suite('Decoration Render Options', () => {
150150
s = new TestCodeEditorServiceImpl(themeServiceMock, styleSheet);
151151
s.registerDecorationType('example', { gutterIconPath: URI.file('c:\\files\\miles\\more.png') });
152152
sheet = readStyleSheet(styleSheet);
153-
// TODO@Alex test fails
154-
// assert(
155-
// sheet.indexOf('background: url(\'file:///c%3A/files/miles/more.png\') center center no-repeat;') > 0
156-
// || sheet.indexOf('background: url("file:///c%3A/files/miles/more.png") center center no-repeat;') > 0
157-
// );
153+
assert(
154+
sheet.indexOf('background: url(\'file:///c%3A/files/miles/more.png\') center center no-repeat;') > 0
155+
|| sheet.indexOf('background: url("file:///c%3A/files/miles/more.png") center center no-repeat;') > 0
156+
|| sheet.indexOf('background: url("file:///c:/files/miles/more.png") center center no-repeat;') > 0
157+
);
158158
s.removeDecorationType('example');
159159
}
160160

0 commit comments

Comments
 (0)