File tree Expand file tree Collapse file tree
tests/ModelContextProtocol.Tests/Transport Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ namespace ModelContextProtocol.Tests.Transport;
77
88public class StdioClientTransportTests ( ITestOutputHelper testOutputHelper ) : LoggedTest ( testOutputHelper )
99{
10- public static bool IsStdErrCallbackSupported => ! PlatformDetection . IsMonoRuntime ;
11-
12- [ Fact ]
10+ public static bool IsMonoRuntime => PlatformDetection . IsMonoRuntime ;
11+
12+ [ Fact ( Skip = "Platform not supported by this test." , SkipWhen = nameof ( IsMonoRuntime ) ) ]
1313 public async Task CreateAsync_ValidProcessInvalidServer_Throws ( )
1414 {
1515 string id = Guid . NewGuid ( ) . ToString ( "N" ) ;
@@ -22,7 +22,7 @@ public async Task CreateAsync_ValidProcessInvalidServer_Throws()
2222 Assert . Contains ( id , e . ToString ( ) ) ;
2323 }
2424
25- [ Fact ( Skip = "Platform not supported by this test." , SkipUnless = nameof ( IsStdErrCallbackSupported ) ) ]
25+ [ Fact ( Skip = "Platform not supported by this test." , SkipWhen = nameof ( IsMonoRuntime ) ) ]
2626 public async Task CreateAsync_ValidProcessInvalidServer_StdErrCallbackInvoked ( )
2727 {
2828 string id = Guid . NewGuid ( ) . ToString ( "N" ) ;
You can’t perform that action at this time.
0 commit comments