We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a732883 commit 65c9c79Copy full SHA for 65c9c79
library/core/tests/num/dec2flt/mod.rs
@@ -127,14 +127,3 @@ fn massive_exponent() {
127
assert_eq!(format!("1e-{max}000").parse(), Ok(0.0));
128
assert_eq!(format!("1e{max}000").parse(), Ok(f64::INFINITY));
129
}
130
-
131
-#[test]
132
-fn borderline_overflow() {
133
- let mut s = "0.".to_string();
134
- for _ in 0..375 {
135
- s.push('3');
136
- }
137
- // At the time of this writing, this returns Err(..), but this is a bug that should be fixed.
138
- // It makes no sense to enshrine that in a test, the important part is that it doesn't panic.
139
- let _ = s.parse::<f64>();
140
-}
0 commit comments