mirror of
https://github.com/Microsoft/vscode
synced 2024-10-13 06:48:17 +00:00
Fix test
This commit is contained in:
parent
fb594e362c
commit
6fe85cd9e1
|
@ -150,11 +150,11 @@ suite('Decoration Render Options', () => {
|
|||
s = new TestCodeEditorServiceImpl(themeServiceMock, styleSheet);
|
||||
s.registerDecorationType('example', { gutterIconPath: URI.file('c:\\files\\miles\\more.png') });
|
||||
sheet = readStyleSheet(styleSheet);
|
||||
// TODO@Alex test fails
|
||||
// assert(
|
||||
// sheet.indexOf('background: url(\'file:///c%3A/files/miles/more.png\') center center no-repeat;') > 0
|
||||
// || sheet.indexOf('background: url("file:///c%3A/files/miles/more.png") center center no-repeat;') > 0
|
||||
// );
|
||||
assert(
|
||||
sheet.indexOf('background: url(\'file:///c%3A/files/miles/more.png\') center center no-repeat;') > 0
|
||||
|| sheet.indexOf('background: url("file:///c%3A/files/miles/more.png") center center no-repeat;') > 0
|
||||
|| sheet.indexOf('background: url("file:///c:/files/miles/more.png") center center no-repeat;') > 0
|
||||
);
|
||||
s.removeDecorationType('example');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue