Styling: remove a few redundant parens from object initializer expressions. (#548)
* Styling: remove a few redundant parens from object initializer expressions. * Fix build error.
This commit is contained in:
parent
802424ee08
commit
55bda787ae
2 changed files with 108 additions and 108 deletions
|
|
@ -571,7 +571,7 @@ public partial class McpServerResourceTests
|
|||
McpServerResource resource = McpServerResource.Create((IMcpServer server) =>
|
||||
{
|
||||
Assert.Same(mockServer.Object, server);
|
||||
return new List<AIContent>()
|
||||
return new List<AIContent>
|
||||
{
|
||||
new TextContent("hello!"),
|
||||
new DataContent(new byte[] { 4, 5, 6 }, "application/json"),
|
||||
|
|
|
|||
|
|
@ -586,7 +586,7 @@ public class McpServerTests : LoggedTest
|
|||
await using var transport = new TestServerTransport();
|
||||
await using var server = McpServerFactory.Create(transport, _options, LoggerFactory);
|
||||
|
||||
var logNotification = new JsonRpcNotification()
|
||||
var logNotification = new JsonRpcNotification
|
||||
{
|
||||
Method = NotificationMethods.LoggingMessageNotification
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue