From f111dac23110029788d64024a7768b88b040b979 Mon Sep 17 00:00:00 2001 From: atlas Date: Sat, 4 Jul 2026 19:23:31 +0200 Subject: [PATCH] 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. --- hive-ag3nt/src/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hive-ag3nt/src/events.rs b/hive-ag3nt/src/events.rs index 854ed0ec..c6fb2d46 100644 --- a/hive-ag3nt/src/events.rs +++ b/hive-ag3nt/src/events.rs @@ -1271,7 +1271,7 @@ mod tests { } // Out-of-set, empty, and wrong-case inputs are rejected so a bad // 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"); } }