We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7f7da commit a0c4a65Copy full SHA for a0c4a65
1 file changed
src/contract_trading_extras.rs
@@ -228,14 +228,14 @@ fn test_cant_recreate() {
228
mod proptesting {
229
use super::*;
230
231
- use crate::{strat_storage_trading, utils::strat_fixed_bytes};
+ use crate::{strat_storage_trading, utils::strat_uniq_outcomes};
232
233
use proptest::prelude::*;
234
235
proptest! {
236
#[test]
237
fn test_fee_addition_cant_be_excessive(
238
- outcomes in proptest::collection::vec(strat_fixed_bytes::<8>(), 2),
+ outcomes in strat_uniq_outcomes(2, 2),
239
share_impl in any::<Address>(),
240
fee_for_creator in 100u64..,
241
fee_for_lp in 100u64..,
0 commit comments