From b813d68abe84e0e30c6138219a3f9f23e8f5d9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20L=C3=B6bel?= Date: Tue, 23 Apr 2013 11:10:37 +0200 Subject: [PATCH] Attempt to fix x86 only strconv test failure --- src/libcore/num/strconv.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libcore/num/strconv.rs b/src/libcore/num/strconv.rs index 8d050e65c9812..2f3cd92dac09e 100644 --- a/src/libcore/num/strconv.rs +++ b/src/libcore/num/strconv.rs @@ -655,7 +655,6 @@ mod test { use option::*; #[test] - #[ignore(reason = "fails in x86")] fn from_str_ignore_underscores() { let s : Option = from_str_common("__1__", 2, false, false, false, ExpNone, false, true); @@ -665,9 +664,9 @@ mod test { ExpNone, false, false); assert_eq!(n, None); - let f : Option = from_str_common("_1_._1_e_1_", 10, false, true, false, + let f : Option = from_str_common("_1_._5_e_1_", 10, false, true, false, ExpDec, false, true); - assert_eq!(f, Some(1.1e1f32)); + assert_eq!(f, Some(1.5e1f32)); } #[test]