Skip to content

Commit

Permalink
Merge pull request dotnet#21003 from davidsh/websocket_aot
Browse files Browse the repository at this point in the history
Adjust WebSocketException serialization test
  • Loading branch information
davidsh authored Jun 14, 2017
2 parents 2e833a4 + c22bb2c commit 8cc5c4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<Compile Include="$(CommonTestPath)\System\AssertExtensions.cs">
<Link>Common\System\AssertExtensions.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\PlatformDetection.cs">
<Link>Common\System\PlatformDetection.cs</Link>
</Compile>
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/System.Net.WebSockets/tests/WebSocketExceptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void ConstructorTests_Message_Exception_Success()
Assert.Same(inner, wse.InnerException);
}

[Fact]
[ConditionalFact(nameof(PlatformDetection) + "." + nameof(PlatformDetection.IsFullFramework))]
public void GetObjectData_Success()
{
var wse = new WebSocketException();
Expand Down

0 comments on commit 8cc5c4b

Please sign in to comment.