Skip to content

Commit 7505d2a

Browse files
Style fixes
1 parent a3a714b commit 7505d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public async Task CreateAsync_ValidProcessInvalidServer_StdErrCallbackInvoked()
9494
[InlineData("http://localhost:1234/callback?foo=1&bar=2")]
9595
public async Task EscapesCliArgumentsCorrectly(string? cliArgumentValue)
9696
{
97-
if (PlatformDetection.IsMonoRuntime && cliArgumentValue is not null && cliArgumentValue.EndsWith("\\"))
97+
if (PlatformDetection.IsMonoRuntime && cliArgumentValue?.EndsWith("\\") is true)
9898
{
9999
Assert.Skip("mono runtime does not handle arguments ending with backslash correctly.");
100100
}

0 commit comments

Comments
 (0)