File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,6 @@ where
139139 )
140140 }
141141
142- /// This function is deprecated, due to name change, aligning names of
143- /// different asserts and tests. Use [ConfAndGen::test_true] instead.
144- #[ deprecated = "Use ConfAndGen.test_true instead" ]
145- pub fn test_property ( & self , prop : Property < E > ) -> MonkeyResult < E > {
146- self . test_true ( prop)
147- }
148-
149142 /// Check that the property holds for all generated example values.
150143 /// It panics on failure.
151144 #[ track_caller]
Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ use crate::Seed;
2727/// let my_shrinking_gen = my_gen.with_shrinker(shrinks::int_to_zero());
2828/// monkey_test()
2929/// .with_generator(my_shrinking_gen)
30- /// .test_property (|n| n <= 10)
30+ /// .test_true (|n| n <= 10)
3131/// .assert_minimum_failure(11);
3232///
3333/// // Second alternative for providing a shrinker - explicitly providing it at
3434/// // point of property testing.
3535/// monkey_test()
3636/// .with_generator(my_gen)
3737/// .with_shrinker(shrinks::int_to_zero())
38- /// .test_property (|n| n <= 10)
38+ /// .test_true (|n| n <= 10)
3939/// .assert_minimum_failure(11);
4040/// ```
4141///
You can’t perform that action at this time.
0 commit comments