Skip to content

Commit 33059b5

Browse files
committed
A few more little fixes
1 parent ed0adcf commit 33059b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/ModelContextProtocol.ConformanceServer/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
using ConformanceServer;
21
using ConformanceServer.Prompts;
32
using ConformanceServer.Resources;
43
using ConformanceServer.Tools;
54
using Microsoft.Extensions.AI;
65
using ModelContextProtocol;
76
using ModelContextProtocol.Protocol;
8-
using ModelContextProtocol.Server;
97
using System.Collections.Concurrent;
108

119
var builder = WebApplication.CreateBuilder(args);

tests/ModelContextProtocol.ConformanceTests/ConformanceTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public async ValueTask InitializeAsync()
5252
try
5353
{
5454
// Try to connect to the health endpoint
55-
var response = await httpClient.GetAsync($"{_serverUrl}/health");
55+
await httpClient.GetAsync($"{_serverUrl}/health");
5656
// Any response (even an error) means the server is up
5757
return;
5858
}
@@ -95,7 +95,9 @@ public async Task RunConformanceTests()
9595
// Report the results
9696
Assert.True(result.Success,
9797
$"Conformance tests failed.\n\nStdout:\n{result.Output}\n\nStderr:\n{result.Error}");
98-
} private Process StartConformanceServer()
98+
}
99+
100+
private Process StartConformanceServer()
99101
{
100102
// The ConformanceServer binary is in a parallel directory to the test binary
101103
// Test binary is in: artifacts/bin/ModelContextProtocol.ConformanceTests/Debug/{tfm}/

0 commit comments

Comments
 (0)