claude-connector: serve/check refusal test shape
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b968ada525
commit
29d84bcbfb
1 changed files with 1 additions and 2 deletions
|
|
@ -486,8 +486,7 @@ fn serve_and_check_refuse_a_key_document_that_carries_a_lease() {
|
|||
.unwrap();
|
||||
}
|
||||
let p = path.to_str().unwrap();
|
||||
for args in [["serve", "--config", p], ["config", "check", p, ""]] {
|
||||
let args: Vec<&str> = args.into_iter().filter(|a| !a.is_empty()).collect();
|
||||
for args in [vec!["serve", "--config", p], vec!["config", "check", p]] {
|
||||
let out = run(&args);
|
||||
assert!(!out.status.success(), "{args:?}: {out:?}");
|
||||
assert!(
|
||||
|
|
|
|||
Loading…
Reference in a new issue