Fix tests
This commit is contained in:
parent
1930f890d8
commit
9342ea6c21
1 changed files with 2 additions and 2 deletions
|
@ -144,7 +144,7 @@ suite('Workbench - TerminalConfigHelper', () => {
|
|||
}
|
||||
});
|
||||
configHelper = new TerminalConfigHelper(Platform.Linux, configurationService, fixture);
|
||||
assert.equal(configHelper.getFont().lineHeight, '2px', 'terminal.integrated.lineHeight should be selected over editor.lineHeight');
|
||||
assert.equal(configHelper.getFont().lineHeight, 2, 'terminal.integrated.lineHeight should be selected over editor.lineHeight');
|
||||
|
||||
configurationService = new MockConfigurationService({
|
||||
editor: {
|
||||
|
@ -159,7 +159,7 @@ suite('Workbench - TerminalConfigHelper', () => {
|
|||
}
|
||||
});
|
||||
configHelper = new TerminalConfigHelper(Platform.Linux, configurationService, fixture);
|
||||
assert.equal(configHelper.getFont().lineHeight, 'normal', 'editor.lineHeight should be "normal" when terminal.integrated.lineHeight not set');
|
||||
assert.equal(configHelper.getFont().lineHeight, 1.2, 'editor.lineHeight should be 1.2 when terminal.integrated.lineHeight not set');
|
||||
});
|
||||
|
||||
test('TerminalConfigHelper - getShell', function () {
|
||||
|
|
Loading…
Reference in a new issue