Skip to content

Commit

Permalink
Update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed May 5, 2021
1 parent d80e579 commit 16bbc54
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ assert_cmd = "1"
criterion = "0.3"
libflate = "1"
maplit = "1.0.1"
pretty_assertions = "0.6"
rand = { version = "0.7", features = ["small_rng"] }
pretty_assertions = "0.7"
rand = { version = "0.8", features = ["small_rng"] }
testing_logger = "0.1.1"

[profile.release]
Expand Down
4 changes: 2 additions & 2 deletions src/collapse/dtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,10 @@ mod tests {
let inputs = common::testing::read_inputs(&INPUT)?;

loop {
let nstacks_per_job = rng.gen_range(1, 500 + 1);
let nstacks_per_job = rng.gen_range(1..=500);
let options = Options {
includeoffset: rng.gen(),
nthreads: rng.gen_range(2, 32 + 1),
nthreads: rng.gen_range(2..=32),
};

for (path, input) in inputs.iter() {
Expand Down
4 changes: 2 additions & 2 deletions src/collapse/perf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -784,15 +784,15 @@ mod tests {
let inputs = common::testing::read_inputs(&INPUT)?;

loop {
let nstacks_per_job = rng.gen_range(1, 500 + 1);
let nstacks_per_job = rng.gen_range(1..=500);
let options = Options {
annotate_jit: rng.gen(),
annotate_kernel: rng.gen(),
event_filter: None,
include_addrs: rng.gen(),
include_pid: rng.gen(),
include_tid: rng.gen(),
nthreads: rng.gen_range(2, 32 + 1),
nthreads: rng.gen_range(2..=32),
};

for (path, input) in inputs.iter() {
Expand Down

0 comments on commit 16bbc54

Please sign in to comment.