From 9ff9a029329fe6be35950e903ba20943aea5c49b Mon Sep 17 00:00:00 2001 From: Benjamin Russell Date: Thu, 10 Nov 2016 11:09:35 -0800 Subject: [PATCH] Fixing derived exception issue in workspace test --- .../Workspace/WorkspaceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Microsoft.SqlTools.ServiceLayer.Test/Workspace/WorkspaceTests.cs b/test/Microsoft.SqlTools.ServiceLayer.Test/Workspace/WorkspaceTests.cs index 3c11ba58..ad5c3b3d 100644 --- a/test/Microsoft.SqlTools.ServiceLayer.Test/Workspace/WorkspaceTests.cs +++ b/test/Microsoft.SqlTools.ServiceLayer.Test/Workspace/WorkspaceTests.cs @@ -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( + await Assert.ThrowsAnyAsync( () => workspaceService.HandleDidCloseTextDocumentNotification(requestParams, eventContext)); // ... There should still be no open files