fix: resolve compilation errors in tests by fixing type mismatches and imports
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
@@ -6,8 +6,8 @@ mod tests {
|
||||
#[test]
|
||||
fn test_meta_plugin_program_creation() {
|
||||
let plugin = MetaPluginProgram::new(
|
||||
"echo".to_string(),
|
||||
vec!["test".to_string()],
|
||||
"echo",
|
||||
vec!["test"],
|
||||
"test_plugin".to_string(),
|
||||
false,
|
||||
);
|
||||
@@ -20,8 +20,8 @@ mod tests {
|
||||
#[test]
|
||||
fn test_meta_plugin_program_create_writer() {
|
||||
let plugin = MetaPluginProgram::new(
|
||||
"cat".to_string(),
|
||||
vec![].to_vec(),
|
||||
"cat",
|
||||
vec![],
|
||||
"cat_plugin".to_string(),
|
||||
false,
|
||||
);
|
||||
@@ -36,8 +36,8 @@ mod tests {
|
||||
#[test]
|
||||
fn test_meta_plugin_program_unsupported() {
|
||||
let plugin = MetaPluginProgram::new(
|
||||
"nonexistent_program_xyz".to_string(),
|
||||
vec![].to_vec(),
|
||||
"nonexistent_program_xyz",
|
||||
vec![],
|
||||
"bad_plugin".to_string(),
|
||||
false,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user