We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a714b commit 7505d2aCopy full SHA for 7505d2a
tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs
@@ -94,7 +94,7 @@ public async Task CreateAsync_ValidProcessInvalidServer_StdErrCallbackInvoked()
94
[InlineData("http://localhost:1234/callback?foo=1&bar=2")]
95
public async Task EscapesCliArgumentsCorrectly(string? cliArgumentValue)
96
{
97
- if (PlatformDetection.IsMonoRuntime && cliArgumentValue is not null && cliArgumentValue.EndsWith("\\"))
+ if (PlatformDetection.IsMonoRuntime && cliArgumentValue?.EndsWith("\\") is true)
98
99
Assert.Skip("mono runtime does not handle arguments ending with backslash correctly.");
100
}
0 commit comments