Initialize Process literal fixture with its source workspace

This commit is contained in:
2026-09-24 20:25:17 -07:00
parent f20497b29b
commit d93c0a8012
@@ -68,8 +68,12 @@ fn native() -> App {
let owner = alias(document.project(), "assessment");
let mut app = open_project(document.project().clone(), owner);
app.document = document;
// Replace the generated split workspace just as open_source_project does.
// sync preserves discovered files and is not a new-document initializer.
app.source_workspace = Workspace::new(app.document.bundle(), true);
app.sync();
app.reconcile_multiselect();
assert_eq!(app.source_workspace.bundle(), native_bundle(BASELINE));
app
}
fn alias(project: &Project, name: &str) -> Id {