Fixing derived exception issue in workspace test

This commit is contained in:
Benjamin Russell
2016-11-10 11:09:35 -08:00
parent ffe17e85fc
commit 9ff9a02932

View File

@@ -82,7 +82,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Test.Workspace
// Then:
// ... There should be a file not found exception thrown
// TODO: This logic should be changed to not create the ScriptFile
await Assert.ThrowsAsync<IOException>(
await Assert.ThrowsAnyAsync<IOException>(
() => workspaceService.HandleDidCloseTextDocumentNotification(requestParams, eventContext));
// ... There should still be no open files