Skip to content

Commit

Permalink
current proptests for floats require the std feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Aug 18, 2021
1 parent baf5e01 commit 704cfed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/number/complete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,7 @@ mod tests {

proptest! {
#[test]
#[cfg(feature = "std")]
fn floats(s in "\\PC*") {
println!("testing {}", s);
let res1 = parse_f64(&s);
Expand Down
1 change: 1 addition & 0 deletions src/number/streaming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2136,6 +2136,7 @@ mod tests {

proptest! {
#[test]
#[cfg(feature = "std")]
fn floats(s in "\\PC*") {
println!("testing {}", s);
let res1 = parse_f64(&s);
Expand Down

0 comments on commit 704cfed

Please sign in to comment.