test: restore #[test] on truncate_keeps_system

This commit is contained in:
王性驊 2026-09-13 17:23:03 +08:00
parent 4eb2a7c330
commit 0e08db21da
1 changed files with 1 additions and 0 deletions

View File

@ -640,6 +640,7 @@ mod tests {
let _ = &s2[..end];
}
#[test]
fn truncate_keeps_system_and_shrinks_old_tools() {
let mut msgs = vec![
ChatMessage::system("sys"),