summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/quickchecking/src/bin.rs
diff options
context:
space:
mode:
authorChristian Poveda Ruiz <31802960+pvdrz@users.noreply.github.com>2023-02-10 12:19:13 -0500
committerGitHub <noreply@github.com>2023-02-10 12:19:13 -0500
commit36937a72e0f50d95f2402e9c3e4316014765c8cc (patch)
treee19387c8f60550a94687460235e71c87e6cfeff7 /bindgen-tests/tests/quickchecking/src/bin.rs
parentce0ae76899a39a93e7db8f8ad24c5e681a3d7294 (diff)
Update `quickcheck` version (#2411)
This is done to deal with the existing vulnerabilities in older versions of `thread_local` and `regex`
Diffstat (limited to 'bindgen-tests/tests/quickchecking/src/bin.rs')
-rw-r--r--bindgen-tests/tests/quickchecking/src/bin.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bindgen-tests/tests/quickchecking/src/bin.rs b/bindgen-tests/tests/quickchecking/src/bin.rs
index f2b52e82..7c189ee8 100644
--- a/bindgen-tests/tests/quickchecking/src/bin.rs
+++ b/bindgen-tests/tests/quickchecking/src/bin.rs
@@ -105,8 +105,7 @@ fn main() {
let output_path: Option<&str> = matches.value_of("path");
let generate_range: usize =
matches.value_of("range").unwrap().parse::<usize>().unwrap();
- let tests: usize =
- matches.value_of("count").unwrap().parse::<usize>().unwrap();
+ let tests: u64 = matches.value_of("count").unwrap().parse::<u64>().unwrap();
quickchecking::test_bindgen(generate_range, tests, output_path)
}