Skip to content

Commit 2e39e15

Browse files
authored
Rollup merge of rust-lang#110158 - TDecking:obsolete_test, r=ChrisDenton
Remove obsolete test case This test case was supposed to cover issue rust-lang#31109 at some point. It never did anything, as the issue was still open at the time of its creation. When the issue was resolved, the `issue31109` test case was created, making the existence of this test pointless.
2 parents c6223e1 + 65c9c79 commit 2e39e15

File tree

1 file changed

+0
-11
lines changed
  • library/core/tests/num/dec2flt

1 file changed

+0
-11
lines changed

library/core/tests/num/dec2flt/mod.rs

-11
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,3 @@ fn massive_exponent() {
127127
assert_eq!(format!("1e-{max}000").parse(), Ok(0.0));
128128
assert_eq!(format!("1e{max}000").parse(), Ok(f64::INFINITY));
129129
}
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

Comments
 (0)