rustfmt the soft context limit change
This commit is contained in:
parent
8147b76cda
commit
7dd988a9e8
1 changed files with 10 additions and 4 deletions
|
|
@ -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}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue