We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c5fef5 commit 3f91592Copy full SHA for 3f91592
sstable/src/lib.rs
@@ -457,8 +457,8 @@ mod test {
457
fn bound_strategy() -> impl Strategy<Value = Bound<String>> {
458
prop_oneof![
459
Just(Bound::<String>::Unbounded),
460
- "[a-c]{0-5}".prop_map(|key| Bound::Included(key)),
461
- "[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)),
462
]
463
}
464
@@ -483,7 +483,7 @@ mod test {
483
484
proptest! {
485
#[test]
486
- 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),
487
(lower_bound, upper_bound) in bounds_strategy(),
488
) {
489
// TODO tweak block size.
0 commit comments