fix(test): update effort_validation test to accept low and max levels
The test's invalid-values list included "low" which was valid before this PR but is now a legitimate effort level. Replace with "lowest" (still invalid) so the test keeps its coverage without false-failing.
This commit is contained in:
parent
742f4ef916
commit
f111dac231
1 changed files with 1 additions and 1 deletions
|
|
@ -1271,7 +1271,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
// Out-of-set, empty, and wrong-case inputs are rejected so a bad
|
// Out-of-set, empty, and wrong-case inputs are rejected so a bad
|
||||||
// picker POST never reaches `claude --effort`.
|
// picker POST never reaches `claude --effort`.
|
||||||
for bad in ["low", "", "MEDIUM", "ultra", "high "] {
|
for bad in ["lowest", "", "MEDIUM", "ultra", "high "] {
|
||||||
assert!(!is_valid_effort(bad), "{bad:?} should be rejected");
|
assert!(!is_valid_effort(bad), "{bad:?} should be rejected");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue