mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
Drop redundant clones in backtrack tests
This commit is contained in:
@@ -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")],
|
||||
|
||||
Reference in New Issue
Block a user