current proptests for floats require the std feature

This commit is contained in:
Geoffroy Couprie 2021-08-18 17:16:32 +02:00
parent baf5e015b9
commit 704cfed72a
2 changed files with 2 additions and 0 deletions

View File

@ -2055,6 +2055,7 @@ mod tests {
proptest! {
#[test]
#[cfg(feature = "std")]
fn floats(s in "\\PC*") {
println!("testing {}", s);
let res1 = parse_f64(&s);

View File

@ -2136,6 +2136,7 @@ mod tests {
proptest! {
#[test]
#[cfg(feature = "std")]
fn floats(s in "\\PC*") {
println!("testing {}", s);
let res1 = parse_f64(&s);