Skip to content

Commit

Permalink
Fixing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton authored and Jamie Hodkinson committed Jan 30, 2023
1 parent c749436 commit 4ea27ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sstable/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ mod test {
fn bound_strategy() -> impl Strategy<Value = Bound<String>> {
prop_oneof![
Just(Bound::<String>::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)),
]
}

Expand All @@ -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.
Expand Down

0 comments on commit 4ea27ed

Please sign in to comment.