Skip to content

Commit

Permalink
fixed EOL sequence which (hopefully) fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed May 30, 2024
1 parent 8128e32 commit a6e0ea1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { IActiveCodeEditor } from 'vs/editor/browser/editorBrowser';
import { IDiffProviderFactoryService } from 'vs/editor/browser/widget/diffEditor/diffProviderFactoryService';
import { EditOperation } from 'vs/editor/common/core/editOperation';
import { Range } from 'vs/editor/common/core/range';
import { ITextModel } from 'vs/editor/common/model';
import { EndOfLineSequence, ITextModel } from 'vs/editor/common/model';
import { IEditorWorkerService } from 'vs/editor/common/services/editorWorker';
import { IModelService } from 'vs/editor/common/services/model';
import { TestDiffProviderFactoryService } from 'vs/editor/test/browser/diff/testDiffProviderFactoryService';
Expand Down Expand Up @@ -207,6 +207,7 @@ suite('InteractiveChatController', function () {
inlineChatSessionService = store.add(instaService.get(IInlineChatSessionService));

model = store.add(instaService.get(IModelService).createModel('Hello\nWorld\nHello Again\nHello World\n', null));
model.setEOL(EndOfLineSequence.LF);
editor = store.add(instantiateTestCodeEditor(instaService, model));

store.add(chatAgentService.registerDynamicAgent({ id: 'testEditorAgent', ...agentData, }, {
Expand Down

0 comments on commit a6e0ea1

Please sign in to comment.