mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2024-11-23 07:29:54 +00:00
current proptests for floats require the std feature
This commit is contained in:
parent
baf5e015b9
commit
704cfed72a
@ -2055,6 +2055,7 @@ mod tests {
|
||||
|
||||
proptest! {
|
||||
#[test]
|
||||
#[cfg(feature = "std")]
|
||||
fn floats(s in "\\PC*") {
|
||||
println!("testing {}", s);
|
||||
let res1 = parse_f64(&s);
|
||||
|
@ -2136,6 +2136,7 @@ mod tests {
|
||||
|
||||
proptest! {
|
||||
#[test]
|
||||
#[cfg(feature = "std")]
|
||||
fn floats(s in "\\PC*") {
|
||||
println!("testing {}", s);
|
||||
let res1 = parse_f64(&s);
|
||||
|
Loading…
Reference in New Issue
Block a user