update event mapping tests

This commit is contained in:
kevin zhao
2025-11-04 17:56:50 -08:00
parent 1104ba15d6
commit b2ebd1da7c

View File

@@ -204,6 +204,21 @@ mod tests {
text: "# AGENTS.md instructions for test_directory\n\n<INSTRUCTIONS>\ntest_text\n</INSTRUCTIONS>".to_string(),
}],
},
ResponseItem::Message {
id: None,
role: "user".to_string(),
content: vec![ContentItem::InputText {
text: "<user_shell_command>echo 42</user_shell_command>".to_string(),
}],
},
ResponseItem::Message {
id: None,
role: "user".to_string(),
content: vec![ContentItem::InputText {
text: "<user_shell_command_output>done</user_shell_command_output>"
.to_string(),
}],
},
];
for item in items {