提交 655682c0 编写于 作者: S Sandeep Somavarapu

Fix eol character in debug test

上级 89fa4940
......@@ -123,9 +123,11 @@ suite('Debug - Debugger', () => {
}
};
const configurationService = new TestConfigurationService();
const testResourcePropertiesService = new TestTextResourcePropertiesService(configurationService);
setup(() => {
const configurationService = new TestConfigurationService();
_debugger = new Debugger(configurationManager, debuggerContribution, extensionDescriptor0, configurationService, new TestTextResourcePropertiesService(configurationService), undefined, undefined, undefined);
_debugger = new Debugger(configurationManager, debuggerContribution, extensionDescriptor0, configurationService, testResourcePropertiesService, undefined, undefined, undefined);
});
teardown(() => {
......@@ -178,7 +180,7 @@ suite('Debug - Debugger', () => {
' "program": "readme.md"',
' }',
' ]',
'}'].join('\n');
'}'].join(testResourcePropertiesService.getEOL(URI.file('somefile')));
return _debugger.getInitialConfigurationContent().then(content => {
assert.equal(content, expected);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册