Skip to content

Commit cfeba0e

Browse files
committed
Fix Tests
1 parent 9d51063 commit cfeba0e

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

test/PowerShellEditorServices.Test/Extensions/EditorWorkspaceTests.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,6 @@ public void DocumentsReturnsOpenWorkspaceDocuments()
4949
});
5050
}
5151

52-
[Fact]
53-
public void DocumentSaveAndCloseUseWorkspaceOperations()
54-
{
55-
string filePath = Path.Combine(WorkspacePath, "file.ps1");
56-
TestEditorOperations editorOperations = new()
57-
{
58-
OpenDocuments = [new WorkspaceOpenDocument(filePath, saved: true)]
59-
};
60-
61-
EditorWorkspace workspace = new(editorOperations);
62-
WorkspaceOpenDocument document = Assert.Single(workspace.Documents);
63-
64-
document.Save();
65-
document.Close();
66-
67-
Assert.Collection(
68-
editorOperations.Calls,
69-
call => Assert.Equal("SaveFile:" + filePath, call),
70-
call => Assert.Equal("CloseFile:" + filePath, call));
71-
}
72-
7352
[Fact]
7453
public void DocumentToStringReturnsFileNameAndSavedStatus()
7554
{

0 commit comments

Comments
 (0)