Skip to content

Commit a0c4a65

Browse files
committed
Use unique outcomes to the test fees cant be excessive
1 parent 1a7f7da commit a0c4a65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/contract_trading_extras.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,14 @@ fn test_cant_recreate() {
228228
mod proptesting {
229229
use super::*;
230230

231-
use crate::{strat_storage_trading, utils::strat_fixed_bytes};
231+
use crate::{strat_storage_trading, utils::strat_uniq_outcomes};
232232

233233
use proptest::prelude::*;
234234

235235
proptest! {
236236
#[test]
237237
fn test_fee_addition_cant_be_excessive(
238-
outcomes in proptest::collection::vec(strat_fixed_bytes::<8>(), 2),
238+
outcomes in strat_uniq_outcomes(2, 2),
239239
share_impl in any::<Address>(),
240240
fee_for_creator in 100u64..,
241241
fee_for_lp in 100u64..,

0 commit comments

Comments
 (0)