Skip to content

Commit f67904c

Browse files
committed
Un-ignore test_from_str and test_parse_buf
Closes #2609
1 parent 187c6c9 commit f67904c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/libcore/int-template.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,7 @@ pub pure fn to_str_bytes<U>(n: T, radix: uint, f: fn(v: &[u8]) -> U) -> U {
155155
/// Convert to a string
156156
pub pure fn str(i: T) -> ~str { return to_str(i, 10u); }
157157

158-
// FIXME: Has alignment issues on windows and 32-bit linux (#2609)
159158
#[test]
160-
#[ignore]
161159
fn test_from_str() {
162160
assert from_str(~"0") == Some(0 as T);
163161
assert from_str(~"3") == Some(3 as T);
@@ -175,9 +173,7 @@ fn test_from_str() {
175173
assert from_str(~"x").is_none();
176174
}
177175

178-
// FIXME: Has alignment issues on windows and 32-bit linux (#2609)
179176
#[test]
180-
#[ignore]
181177
fn test_parse_bytes() {
182178
use str::to_bytes;
183179
assert parse_bytes(to_bytes(~"123"), 10u) == Some(123 as T);

src/libcore/uint-template.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ pub fn test_to_str() {
221221
}
222222

223223
#[test]
224-
#[ignore]
225224
pub fn test_from_str() {
226225
assert from_str(~"0") == Some(0u as T);
227226
assert from_str(~"3") == Some(3u as T);
@@ -235,7 +234,6 @@ pub fn test_from_str() {
235234
}
236235

237236
#[test]
238-
#[ignore]
239237
pub fn test_parse_bytes() {
240238
use str::to_bytes;
241239
assert parse_bytes(to_bytes(~"123"), 10u) == Some(123u as T);

0 commit comments

Comments
 (0)