mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-15 06:42:31 +00:00
Wrap the line rustfmt would wrap
This commit is contained in:
1 parent
3968433f75
commit
4bb4c71583
1 file changed
+4
-1
@@ -884,7 +884,10 @@ fn picked_projects_report_every_error() {
|
||||
std::fs::write(&aep, b"not an aep").unwrap();
|
||||
std::fs::write(&ecproj, b"not a project").unwrap();
|
||||
let paths = vec![aep.to_string_lossy().to_string(), ecproj.to_string_lossy().to_string()];
|
||||
super::frontend::dialog_answered(&mut app, crate::DialogAnswer { command: "file.import".into(), key: "paths", params: json!({}), paths: Ok(paths.clone()) });
|
||||
super::frontend::dialog_answered(
|
||||
&mut app,
|
||||
crate::DialogAnswer { command: "file.import".into(), key: "paths", params: json!({}), paths: Ok(paths.clone()) },
|
||||
);
|
||||
let status = &app.ui.status;
|
||||
assert!(status.contains("broken.aep") && status.contains("broken.ecproj"), "{status}");
|
||||
assert!(!status.contains('"'), "messages, not quoted JSON: {status}");
|
||||
|
||||
Reference in new issue
Block a user