Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed Apr 1, 2018
1 parent 9401097 commit 7b00886
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sbx_block/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,10 @@ quickcheck! {
fn qc_calc_data_chunk_write_pos_consistent_rs_enabled(seq_num : u32,
data_par : (usize, usize)) -> bool {
let seq_num = if seq_num == 0 { 1 } else { seq_num };
let mut data_par = data_par;
data_par.0 = if data_par.0 == 0 { 1 } else { data_par.0 };
data_par.1 = if data_par.1 == 0 { 1 } else { data_par.1 };

let (data, parity) = data_par;
let data_par = Some(data_par);

Expand Down

0 comments on commit 7b00886

Please sign in to comment.