Skip to content

Commit

Permalink
Remove test params
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeder committed Dec 13, 2024
1 parent e0e13b9 commit 3d44299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2030,7 +2030,7 @@ pub fn stability_test(tasks: usize) {
let mut pbs = Vec::new();
for i in 0..tasks {
let pb = mb
.add(ProgressBar::new(2))
.add(ProgressBar::new(ITERATIONS))

Check failure on line 2033 in src/stability.rs

View workflow job for this annotation

GitHub Actions / test

mismatched types
.with_style(
ProgressStyle::with_template("{bar:80.cyan/blue} {msg} {pos:>4}/{len:8} {percent}% ({eta})")
.unwrap(),
Expand All @@ -2046,7 +2046,7 @@ pub fn stability_test(tasks: usize) {
let pb = &pbs[i];

let slowkey = SlowKey::new(&SlowKeyOptions {
iterations: 2,
iterations: ITERATIONS,
length: SlowKeyOptions::DEFAULT_OUTPUT_SIZE,
scrypt: ScryptOptions::default(),
argon2id: Argon2idOptions::default(),
Expand Down

0 comments on commit 3d44299

Please sign in to comment.