test: initialize snapshot state in the struct literal
Verify Tessera GUI / verify (push) Successful in 7m44s
Verify Tessera GUI / verify (push) Successful in 7m44s
This commit is contained in:
+4
-2
@@ -455,8 +455,10 @@ paint(ui.text("last"))"#;
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn page_api_errors_and_late_failures_do_not_publish_partial_snapshots() {
|
fn page_api_errors_and_late_failures_do_not_publish_partial_snapshots() {
|
||||||
let mut state = NamespaceState::default();
|
let mut state = NamespaceState {
|
||||||
state.submission = 1;
|
submission: 1,
|
||||||
|
..NamespaceState::default()
|
||||||
|
};
|
||||||
state
|
state
|
||||||
.commit(1, compile(PAGE, "app.main", 1).unwrap())
|
.commit(1, compile(PAGE, "app.main", 1).unwrap())
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user