librustc: Fix the test runner, the condition system, and core test. rs=bustage
This commit is contained in:
parent
84ce55e542
commit
e26ca35b08
28 changed files with 91 additions and 13 deletions
|
@ -748,7 +748,7 @@ pub pure fn normalize(components: &[~str]) -> ~[~str] {
|
|||
}
|
||||
|
||||
// Various windows helpers, and tests for the impl.
|
||||
mod windows {
|
||||
pub mod windows {
|
||||
use libc;
|
||||
|
||||
#[inline(always)]
|
||||
|
@ -792,6 +792,9 @@ mod windows {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use path::windows;
|
||||
use str;
|
||||
|
||||
#[test]
|
||||
fn test_double_slash_collapsing() {
|
||||
let path = PosixPath("tmp/");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue