diff --git a/src/endor_host.rs b/src/endor_host.rs index 18bd3ac..6eb847f 100644 --- a/src/endor_host.rs +++ b/src/endor_host.rs @@ -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();