Skip to content

Commit

Permalink
use real trybuild
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron1024 committed Mar 11, 2024
1 parent 5b21cc5 commit 7739f90
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 1 addition & 2 deletions proptest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,4 @@ optional = true

[dev-dependencies]
regex = "1.0"
# trybuild = { git = "https://github.com/cameron1024/trybuild" }
trybuild = { path = "../../trybuild" }
trybuild = "1"
9 changes: 9 additions & 0 deletions proptest/tests/pass/with_params.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
fn main() {}

#[proptest::property_test(config = proptest::test_runner::Config {
cases = 10,
..Default::default()
})]
fn my_test(x: i32) {
assert_eq!(x, x);
}

0 comments on commit 7739f90

Please sign in to comment.