File tree Expand file tree Collapse file tree
test/PowerShellEditorServices.Test/Extensions Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments