Skip to content

Commit acec346

Browse files
committed
Fix bad merge
1 parent c00865c commit acec346

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public async Task CreateAsync_ValidProcessInvalidServer_StdErrCallbackInvoked()
6161
}
6262

6363
[Fact(Skip = "Platform not supported by this test.", SkipUnless = nameof(IsStdErrCallbackSupported))]
64-
<<<<<<< suppress-ec-flow-stderr
6564
public async Task CreateAsync_StdErrCallback_DoesNotCaptureCallerAsyncLocal()
6665
{
6766
var asyncLocal = new AsyncLocal<string>();
@@ -100,7 +99,9 @@ public async Task CreateAsync_StdErrCallback_DoesNotCaptureCallerAsyncLocal()
10099
// The callback should NOT see the caller's AsyncLocal value because
101100
// ExecutionContext flow is suppressed for the stderr reader thread.
102101
Assert.Null(capturedValue);
103-
=======
102+
}
103+
104+
[Fact(Skip= "Platform not supported by this test.", SkipUnless = nameof(IsStdErrCallbackSupported))]
104105
public async Task CreateAsync_StdErrCallbackThrows_DoesNotCrashProcess()
105106
{
106107
StdioClientTransport transport = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ?
@@ -109,7 +110,6 @@ public async Task CreateAsync_StdErrCallbackThrows_DoesNotCrashProcess()
109110

110111
// Should throw IOException for the failed server, not crash the host process.
111112
await Assert.ThrowsAnyAsync<IOException>(() => McpClient.CreateAsync(transport, loggerFactory: LoggerFactory, cancellationToken: TestContext.Current.CancellationToken));
112-
>>>>>>> main
113113
}
114114

115115
[Theory]

0 commit comments

Comments
 (0)