diff --git a/sstable/src/lib.rs b/sstable/src/lib.rs index ff8ff7767d..6237ea7dec 100644 --- a/sstable/src/lib.rs +++ b/sstable/src/lib.rs @@ -457,8 +457,8 @@ mod test { fn bound_strategy() -> impl Strategy> { prop_oneof![ Just(Bound::::Unbounded), - "[a-c]{0-5}".prop_map(|key| Bound::Included(key)), - "[a-c]{0-5}".prop_map(|key| Bound::Excluded(key)), + "[a-c]{0,5}".prop_map(|key| Bound::Included(key)), + "[a-c]{0,5}".prop_map(|key| Bound::Excluded(key)), ] } @@ -483,7 +483,7 @@ mod test { proptest! { #[test] - fn test_proptest_sstable_ranges(words in prop::collection::btree_set("[a-c]{0-6}", 1..100), + fn test_proptest_sstable_ranges(words in prop::collection::btree_set("[a-c]{0,6}", 1..100), (lower_bound, upper_bound) in bounds_strategy(), ) { // TODO tweak block size.