Delete redundant helper-spelling tests
This commit is contained in:
parent
391a5d7fd7
commit
f3360248fd
2 changed files with 8 additions and 54 deletions
|
|
@ -1482,17 +1482,6 @@ mod tests {
|
|||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn same_nonempty_tool_request_round_requires_real_repetition() {
|
||||
let first = vec!["source::read_file::{\"path\":\"README.md\"}".to_string()];
|
||||
let second = vec!["source::git_show::{\"commit\":\"abc\"}".to_string()];
|
||||
|
||||
assert!(!same_nonempty_tool_request_round(None, &first));
|
||||
assert!(!same_nonempty_tool_request_round(Some(&first), &[]));
|
||||
assert!(!same_nonempty_tool_request_round(Some(&first), &second));
|
||||
assert!(same_nonempty_tool_request_round(Some(&first), &first));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn tool_loop_guard_stalls_only_after_repeated_identical_rounds() {
|
||||
let mut guard = ToolLoopGuard::default();
|
||||
|
|
|
|||
Reference in a new issue