File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ impl<'a> Arbitrary<'a> for FuzzArrayAction {
7777 let valid_actions = actions_for_array ( & current_array) ;
7878
7979 let mut actions = Vec :: new ( ) ;
80- let action_count = u. int_in_range ( 1 ..=5 ) ?;
80+ let action_count = u. int_in_range ( 1 ..=4 ) ?;
8181 for _ in 0 ..action_count {
8282 actions. push ( match random_value_from_list ( u, valid_actions. as_slice ( ) ) ? {
8383 0 => {
@@ -199,7 +199,7 @@ fn random_value_from_list(u: &mut Unstructured<'_>, vec: &[usize]) -> Result<usi
199199 u. choose_iter ( vec) . cloned ( )
200200}
201201
202- const ALL_ACTIONS : RangeInclusive < usize > = 0 ..=4 ;
202+ const ALL_ACTIONS : RangeInclusive < usize > = 0 ..=5 ;
203203
204204fn actions_for_encoding ( encoding_id : EncodingId ) -> HashSet < usize > {
205205 if ListEncoding . id ( ) == encoding_id {
You can’t perform that action at this time.
0 commit comments