fix: make plugin mutable in test to fix borrow error

Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-14 17:15:00 -03:00
parent ff1d4f164a
commit d194ae1edf

View File

@@ -5,7 +5,7 @@ mod tests {
#[test] #[test]
fn test_meta_plugin_program_creation() { fn test_meta_plugin_program_creation() {
let plugin = MetaPluginProgram::new( let mut plugin = MetaPluginProgram::new(
"echo", "echo",
vec!["test"], vec!["test"],
"test_plugin".to_string(), "test_plugin".to_string(),