From 60ec812b3a71706e70afda22232492510149c4c7 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 25 Apr 2012 15:58:33 -0700 Subject: [PATCH] test: Fix and un-xfail run-pass/use --- src/test/run-pass/use.rs | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/src/test/run-pass/use.rs b/src/test/run-pass/use.rs index 78f46ef5f84..275cf09f035 100644 --- a/src/test/run-pass/use.rs +++ b/src/test/run-pass/use.rs @@ -1,17 +1,14 @@ -// xfail-test -use std; -use libc; -use zed(name = "std"); -use bar(name = "std", vers = "0.1"); +#[no_core]; +use core; +use zed(name = "core"); +use bar(name = "core", vers = "0.2"); -// FIXME: commented out since resolve doesn't know how to handle crates yet. -// import str; -// import x = str; +import core::str; +import x = zed::str; mod baz { - // import str; - // import x = str; - + import bar::str; + import x = core::str; } fn main() { } \ No newline at end of file