Address some static analysis and TODOs (#12)
This commit is contained in:
parent
3de19d38e4
commit
33b9582199
1 changed files with 132 additions and 123 deletions
|
|
@ -44,9 +44,11 @@ public static class ProtocolTypeTests
|
|||
public static void ToolInputSchema_AcceptsValidSchemaDocuments(string validSchema)
|
||||
{
|
||||
using var document = JsonDocument.Parse(validSchema);
|
||||
var tool = new Tool();
|
||||
Tool tool = new()
|
||||
{
|
||||
InputSchema = document.RootElement
|
||||
};
|
||||
|
||||
tool.InputSchema = document.RootElement;
|
||||
Assert.True(JsonElement.DeepEquals(document.RootElement, tool.InputSchema));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue