Skip to content

Commit

Permalink
Merge pull request #267 from cuishuang/master
Browse files Browse the repository at this point in the history
fix some typos
  • Loading branch information
rex-remind101 authored Apr 17, 2023
2 parents 54194d9 + b2d783b commit 0b2628c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion book/src/proptest/tutorial/config.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Configuring the number of tests cases requried
# Configuring the number of tests cases required

The default number of successful test cases that must execute for a test
as a whole to pass is currently 256. If you are not satisfied with this
Expand Down
8 changes: 4 additions & 4 deletions proptest/src/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1054,17 +1054,17 @@ mod test {
mod $t {
use crate::strategy::check_strategy_sanity;

const FOURTY_TWO: $t = 42 as $t;
const FORTY_TWO: $t = 42 as $t;
const FIFTY_SIX: $t = 56 as $t;

#[test]
fn range() {
check_strategy_sanity(FOURTY_TWO..FIFTY_SIX, None);
check_strategy_sanity(FORTY_TWO..FIFTY_SIX, None);
}

#[test]
fn range_inclusive() {
check_strategy_sanity(FOURTY_TWO..=FIFTY_SIX, None);
check_strategy_sanity(FORTY_TWO..=FIFTY_SIX, None);
}

#[test]
Expand All @@ -1079,7 +1079,7 @@ mod test {

#[test]
fn range_from() {
check_strategy_sanity(FOURTY_TWO.., None);
check_strategy_sanity(FORTY_TWO.., None);
}
}
};
Expand Down

0 comments on commit 0b2628c

Please sign in to comment.