test: initialize snapshot state in the struct literal
Verify Tessera GUI / verify (push) Successful in 7m44s

This commit is contained in:
2026-10-20 13:56:25 +08:00
parent 47ab2aa3a6
commit 1f64de48b9
+4 -2
View File
@@ -455,8 +455,10 @@ paint(ui.text("last"))"#;
#[test]
fn page_api_errors_and_late_failures_do_not_publish_partial_snapshots() {
let mut state = NamespaceState::default();
state.submission = 1;
let mut state = NamespaceState {
submission: 1,
..NamespaceState::default()
};
state
.commit(1, compile(PAGE, "app.main", 1).unwrap())
.unwrap();