mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-20 00:55:43 +00:00
Merge main
# Conflicts: # crates/ui-egui/src/menus/tests.rs
This commit is contained in:
commit
fc63da8839
3 files changed
+11
-3
No files matched your search
@@ -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