Skip to content

Commit c5fb8e5

Browse files
committed
Fix clang-format for test_helpers.hpp
1 parent 19c3c8b commit c5fb8e5

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

tests/client/test_helpers.hpp

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,15 @@ std::shared_ptr<server::Server> create_tool_server()
117117
{"mode", Json{{"enum", Json::array({"fast", "slow"})}}}}},
118118
{"required", Json::array({"items", "mode"})}}),
119119
// Tool with icons for icon tests
120-
make_tool("icon_tool", "Tool with icons", Json{{"type", "object"}},
121-
std::nullopt, // outputSchema
122-
std::string("My Icon Tool"), // title
123-
std::vector<fastmcpp::Icon>{
124-
fastmcpp::Icon{"https://example.com/icon.png", std::string("image/png"), std::nullopt},
125-
fastmcpp::Icon{"data:image/svg+xml;base64,PHN2Zz48L3N2Zz4=", std::string("image/svg+xml"),
126-
std::vector<std::string>{"48x48", "any"}}})};
120+
make_tool(
121+
"icon_tool", "Tool with icons", Json{{"type", "object"}},
122+
std::nullopt, // outputSchema
123+
std::string("My Icon Tool"), // title
124+
std::vector<fastmcpp::Icon>{fastmcpp::Icon{"https://example.com/icon.png",
125+
std::string("image/png"), std::nullopt},
126+
fastmcpp::Icon{"data:image/svg+xml;base64,PHN2Zz48L3N2Zz4=",
127+
std::string("image/svg+xml"),
128+
std::vector<std::string>{"48x48", "any"}}})};
127129

128130
// Store last received meta for testing
129131
static Json last_received_meta = nullptr;

0 commit comments

Comments
 (0)