summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-04-23 11:10:37 +0200
committerMarvin Löbel <loebel.marvin@gmail.com>2013-04-23 11:10:37 +0200
commitb813d68abe84e0e30c6138219a3f9f23e8f5d9de (patch)
tree33e4cecb7b62b4ba2f304360005d077b18e875a3 /src/libcore/num
parent54b0cbf86eeb36c1d6d472d5e237ba2894cf401d (diff)
downloadrust-b813d68abe84e0e30c6138219a3f9f23e8f5d9de.tar.gz
rust-b813d68abe84e0e30c6138219a3f9f23e8f5d9de.zip
Attempt to fix x86 only strconv test failure
Diffstat (limited to 'src/libcore/num')
-rw-r--r--src/libcore/num/strconv.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcore/num/strconv.rs b/src/libcore/num/strconv.rs
index 8d050e65c98..2f3cd92dac0 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<u8> = 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<f32> = from_str_common("_1_._1_e_1_", 10, false, true, false,
+        let f : Option<f32> = 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]