Skip to content

Commit 6f534cb

Browse files
authored
Merge pull request #377 from sameer/master
Fix prop_state_machine cannot find value `config`
2 parents d6f95d4 + bab6ed1 commit 6f534cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proptest-state-machine/src/test_runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ macro_rules! prop_state_machine {
190190
fn $test_name(
191191
(initial_state, transitions) in <$test $(< $( $ty_param ),+ >)? as StateMachineTest>::Reference::sequential_strategy($size)
192192
) {
193-
$test $(::< $( $ty_param ),+ >)? ::test_sequential(config, initial_state, transitions)
193+
$test $(::< $( $ty_param ),+ >)? ::test_sequential(Default::default(), initial_state, transitions)
194194
}
195195
}
196196
)*

0 commit comments

Comments
 (0)