Skip to content

Commit 776977b

Browse files
committed
test: Un-xfail some working tests
1 parent b620be9 commit 776977b

File tree

7 files changed

+8
-25
lines changed

7 files changed

+8
-25
lines changed

src/test/bench/shootout/fasta.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
41
/* -*- mode: rust; indent-tabs-mode: nil -*-
52
* Implementation of 'fasta' benchmark from
63
* Computer Language Benchmarks Game

src/test/run-pass/iter-ret.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
41
iter x() -> int {
52
}
63

src/test/run-pass/lib-rand.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
41
// -*- rust -*-
52

63
use std;

src/test/run-pass/lib-str-buf.rs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
41
// -*- rust -*-
52

63
use std;
74
import std::str;
85

96
fn main() {
107
auto s = "hello";
11-
auto sb = str.rustrt.str_buf(s);
12-
auto s_cstr = str.rustrt.str_from_cstr(sb);
13-
assert (str.eq(s_cstr, s));
14-
auto s_buf = str.rustrt.str_from_buf(sb, 5u);
15-
assert (str.eq(s_buf, s));
8+
auto sb = str::buf(s);
9+
auto s_cstr = str::str_from_cstr(sb);
10+
assert (str::eq(s_cstr, s));
11+
auto s_buf = str::str_from_buf(sb, 5u);
12+
assert (str::eq(s_buf, s));
1613
}
1714

src/test/run-pass/utf8.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
2+
43
fn main() {
54
let char yen = '¥'; // 0xa5
65
let char c_cedilla = 'ç'; // 0xe7

src/test/run-pass/utf8_chars.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
2+
43
use std;
54
import std::str;
65
import std::vec;

src/test/run-pass/vec-alloc-append.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
41
// This is a test for issue #109.
52

63
use std;
74

85
fn slice[T](vec[T] e) {
9-
let vec[T] result = std::vec.alloc[T](1 as uint);
6+
let vec[T] result = std::vec::alloc[T](1 as uint);
107
log "alloced";
118
result += e;
129
log "appended";

0 commit comments

Comments
 (0)