Watch
0
0
Fork
You've already forked hyperhive
0

rustfmt the soft context limit change

This commit is contained in:
damocles 2026-11-15 16:15:19 +01:00 • committed by mara
commit 7dd988a9e8

View file

@ -569,7 +569,11 @@ mod tests {
#[test]
fn soft_context_percent_outside_its_range_is_refused() {
for percent in [0, MIN_SOFT_CONTEXT_PERCENT - 1, MAX_SOFT_CONTEXT_PERCENT + 1] {
for percent in [
0,
MIN_SOFT_CONTEXT_PERCENT - 1,
MAX_SOFT_CONTEXT_PERCENT + 1,
] {
let json = format!(r#"{{"soft_context_percent":{percent}}}"#);
assert!(into_stored(settings(&json).unwrap()).is_err(), "{json}");
}