File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -490,9 +490,8 @@ mod tests {
490490 fn test_generate_with_categorization ( ) {
491491 let generator = ProgressiveGenerator :: new ( ) . unwrap ( ) ;
492492
493- let server_id = ServerId :: new ( "test" ) ;
494493 let server_info = mcp_introspector:: ServerInfo {
495- id : server_id . clone ( ) ,
494+ id : ServerId :: new ( "test" ) ,
496495 name : "Test Server" . to_string ( ) ,
497496 version : "1.0.0" . to_string ( ) ,
498497 capabilities : ServerCapabilities {
@@ -534,9 +533,8 @@ mod tests {
534533 fn test_generate_with_categorization_multiple_tools ( ) {
535534 let generator = ProgressiveGenerator :: new ( ) . unwrap ( ) ;
536535
537- let server_id = ServerId :: new ( "test" ) ;
538536 let server_info = mcp_introspector:: ServerInfo {
539- id : server_id . clone ( ) ,
537+ id : ServerId :: new ( "test" ) ,
540538 name : "Test Server" . to_string ( ) ,
541539 version : "1.0.0" . to_string ( ) ,
542540 capabilities : ServerCapabilities {
You can’t perform that action at this time.
0 commit comments