Drop redundant clones in backtrack tests

This commit is contained in:
Charles Cunningham
2026-02-02 22:29:39 -08:00
parent a1a0a2be6f
commit ef8575c24a
+3 -3
View File
@@ -3090,7 +3090,7 @@ mod tests {
message: "plan".to_string(),
text_elements: Vec::new(),
local_image_paths: Vec::new(),
collaboration_mode: Some(plan_mask.clone()),
collaboration_mode: Some(plan_mask),
}) as Arc<dyn HistoryCell>,
Arc::new(AgentMessageCell::new(
vec![Line::from("plan response")],
@@ -3170,7 +3170,7 @@ mod tests {
message: "plan".to_string(),
text_elements: Vec::new(),
local_image_paths: Vec::new(),
collaboration_mode: Some(plan_mask.clone()),
collaboration_mode: Some(plan_mask),
}) as Arc<dyn HistoryCell>,
Arc::new(AgentMessageCell::new(
vec![Line::from("plan response")],
@@ -3334,7 +3334,7 @@ mod tests {
message: "plan".to_string(),
text_elements: Vec::new(),
local_image_paths: Vec::new(),
collaboration_mode: Some(plan_mask.clone()),
collaboration_mode: Some(plan_mask),
}) as Arc<dyn HistoryCell>,
Arc::new(AgentMessageCell::new(
vec![Line::from("plan response")],