Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelOsborne committed Jul 24, 2024
1 parent 474750d commit 450366b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dotlottie-rs/tests/state_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,10 @@ mod tests {
}
}

player.set_state_machine_numeric_context("sync_key", 50.0);
player.post_event(&Event::SetNumericContext {
key: "sync_key".to_string(),
value: 50.0,
});

match player.get_state_machine().read().unwrap().as_ref() {
Some(sm) => {
Expand Down

0 comments on commit 450366b

Please sign in to comment.