Skip to content

Commit

Permalink
Merge pull request #377 from sameer/master
Browse files Browse the repository at this point in the history
Fix prop_state_machine cannot find value `config`
  • Loading branch information
tzemanovic authored Oct 17, 2023
2 parents d6f95d4 + bab6ed1 commit 6f534cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proptest-state-machine/src/test_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ macro_rules! prop_state_machine {
fn $test_name(
(initial_state, transitions) in <$test $(< $( $ty_param ),+ >)? as StateMachineTest>::Reference::sequential_strategy($size)
) {
$test $(::< $( $ty_param ),+ >)? ::test_sequential(config, initial_state, transitions)
$test $(::< $( $ty_param ),+ >)? ::test_sequential(Default::default(), initial_state, transitions)
}
}
)*
Expand Down

0 comments on commit 6f534cb

Please sign in to comment.