Skip to content

Commit 61fe330

Browse files
Copilotstephentoub
andcommitted
Improve comment clarity in reflection-based test
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent 42bc783 commit 61fe330

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/ModelContextProtocol.Tests/Server/McpServerTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,8 @@ public async Task Initialize_CopiesAllCapabilityProperties()
334334
{
335335
// Set every public property on ServerCapabilities to a non-null value.
336336
// If a new property is added to ServerCapabilities in the future but the
337-
// server fails to copy it, this test will fail as a reminder.
337+
// server fails to copy it, this reflection-based test will automatically
338+
// detect the missing property and fail.
338339
var inputCapabilities = new ServerCapabilities
339340
{
340341
Experimental = new Dictionary<string, object> { ["test"] = new JsonObject() },

0 commit comments

Comments
 (0)