diff --git a/src/libcore/int-template.rs b/src/libcore/int-template.rs index a25231c8850..db95bc46ffe 100644 --- a/src/libcore/int-template.rs +++ b/src/libcore/int-template.rs @@ -155,9 +155,7 @@ pub pure fn to_str_bytes(n: T, radix: uint, f: fn(v: &[u8]) -> U) -> U { /// Convert to a string pub pure fn str(i: T) -> ~str { return to_str(i, 10u); } -// FIXME: Has alignment issues on windows and 32-bit linux (#2609) #[test] -#[ignore] fn test_from_str() { assert from_str(~"0") == Some(0 as T); assert from_str(~"3") == Some(3 as T); @@ -175,9 +173,7 @@ fn test_from_str() { assert from_str(~"x").is_none(); } -// FIXME: Has alignment issues on windows and 32-bit linux (#2609) #[test] -#[ignore] fn test_parse_bytes() { use str::to_bytes; assert parse_bytes(to_bytes(~"123"), 10u) == Some(123 as T); diff --git a/src/libcore/uint-template.rs b/src/libcore/uint-template.rs index bdce82f4dd3..ceb525f5f8d 100644 --- a/src/libcore/uint-template.rs +++ b/src/libcore/uint-template.rs @@ -221,7 +221,6 @@ pub fn test_to_str() { } #[test] -#[ignore] pub fn test_from_str() { assert from_str(~"0") == Some(0u as T); assert from_str(~"3") == Some(3u as T); @@ -235,7 +234,6 @@ pub fn test_from_str() { } #[test] -#[ignore] pub fn test_parse_bytes() { use str::to_bytes; assert parse_bytes(to_bytes(~"123"), 10u) == Some(123u as T);