forked from 1b-agent/opencadstudio-upstream
style: apply cargo fmt across workspace
This commit is contained in:
1 parent
85710e5454
commit
9cf9ff2c5c
531 files changed
+57740
-33906
No files matched your search
@@ -178,7 +178,11 @@ mod tests {
|
||||
let _ = app.update(Message::ZoomFactorChanged(before + 9));
|
||||
let _ = app.update(Message::OptionsClose);
|
||||
let _ = app.update(Message::OptionsCloseDiscard);
|
||||
assert_eq!(app.zoom_factor, before + 7, "back to the applied value, not the original");
|
||||
assert_eq!(
|
||||
app.zoom_factor,
|
||||
before + 7,
|
||||
"back to the applied value, not the original"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -250,7 +254,11 @@ mod tests {
|
||||
assert_eq!(app.zoom_factor, settings::ZOOM_FACTOR_MAX);
|
||||
|
||||
let _ = app.update(Message::ZoomFactorInputChanged("1".into()));
|
||||
assert_eq!(app.zoom_factor, settings::ZOOM_FACTOR_MIN, "the floor holds");
|
||||
assert_eq!(
|
||||
app.zoom_factor,
|
||||
settings::ZOOM_FACTOR_MIN,
|
||||
"the floor holds"
|
||||
);
|
||||
}
|
||||
|
||||
/// The slider and the field are two views of one setting: dragging the
|
||||
|
||||
Reference in new issue
Block a user