mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 18:47:57 -05:00
Fixing derived exception issue in workspace test
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Test.Workspace
|
|||||||
// Then:
|
// Then:
|
||||||
// ... There should be a file not found exception thrown
|
// ... There should be a file not found exception thrown
|
||||||
// TODO: This logic should be changed to not create the ScriptFile
|
// TODO: This logic should be changed to not create the ScriptFile
|
||||||
await Assert.ThrowsAsync<IOException>(
|
await Assert.ThrowsAnyAsync<IOException>(
|
||||||
() => workspaceService.HandleDidCloseTextDocumentNotification(requestParams, eventContext));
|
() => workspaceService.HandleDidCloseTextDocumentNotification(requestParams, eventContext));
|
||||||
|
|
||||||
// ... There should still be no open files
|
// ... There should still be no open files
|
||||||
|
|||||||
Reference in New Issue
Block a user