diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-15 16:45:22 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-15 16:49:57 -0800 |
| commit | f67904ca407778be1adce893a90d2a8b292de40b (patch) | |
| tree | 5a90d210bbd4b26567ada34f7836bf7af8e762bb /src | |
| parent | 187c6c90a14ec378ce502aa7f6f184ba28a71947 (diff) | |
Un-ignore test_from_str and test_parse_buf
Closes #2609
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/int-template.rs | 4 | ||||
| -rw-r--r-- | src/libcore/uint-template.rs | 2 |
2 files changed, 0 insertions, 6 deletions
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<U>(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); |
