Skip to content

Commit 3f91592

Browse files
committed
Fixing unit tests
1 parent 9c5fef5 commit 3f91592

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sstable/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,8 @@ mod test {
457457
fn bound_strategy() -> impl Strategy<Value = Bound<String>> {
458458
prop_oneof![
459459
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)),
460+
"[a-c]{0,5}".prop_map(|key| Bound::Included(key)),
461+
"[a-c]{0,5}".prop_map(|key| Bound::Excluded(key)),
462462
]
463463
}
464464

@@ -483,7 +483,7 @@ mod test {
483483

484484
proptest! {
485485
#[test]
486-
fn test_proptest_sstable_ranges(words in prop::collection::btree_set("[a-c]{0-6}", 1..100),
486+
fn test_proptest_sstable_ranges(words in prop::collection::btree_set("[a-c]{0,6}", 1..100),
487487
(lower_bound, upper_bound) in bounds_strategy(),
488488
) {
489489
// TODO tweak block size.

0 commit comments

Comments
 (0)