test: Un-xfail some working tests

This commit is contained in:
Brian Anderson 2011-05-23 22:22:08 -04:00
parent b620be9cd2
commit 776977b755
7 changed files with 8 additions and 25 deletions

View file

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
/* -*- mode: rust; indent-tabs-mode: nil -*-
* Implementation of 'fasta' benchmark from
* Computer Language Benchmarks Game

View file

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
iter x() -> int {
}

View file

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
use std;

View file

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
use std;
@ -8,10 +5,10 @@ import std::str;
fn main() {
auto s = "hello";
auto sb = str.rustrt.str_buf(s);
auto s_cstr = str.rustrt.str_from_cstr(sb);
assert (str.eq(s_cstr, s));
auto s_buf = str.rustrt.str_from_buf(sb, 5u);
assert (str.eq(s_buf, s));
auto sb = str::buf(s);
auto s_cstr = str::str_from_cstr(sb);
assert (str::eq(s_cstr, s));
auto s_buf = str::str_from_buf(sb, 5u);
assert (str::eq(s_buf, s));
}

View file

@ -1,6 +1,5 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
fn main() {
let char yen = '¥'; // 0xa5
let char c_cedilla = 'ç'; // 0xe7

View file

@ -1,6 +1,5 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
use std;
import std::str;
import std::vec;

View file

@ -1,12 +1,9 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// This is a test for issue #109.
use std;
fn slice[T](vec[T] e) {
let vec[T] result = std::vec.alloc[T](1 as uint);
let vec[T] result = std::vec::alloc[T](1 as uint);
log "alloced";
result += e;
log "appended";