blob: 911bc6b0dd9098e5711b70e852e7278204a445d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Testing a few of the path manipuation functions
use std;
import std::fs;
import std::os;
#[test]
fn test() {
assert (!fs::path_is_absolute("test-path"));
log "Current working directory: " + os::getcwd();
log fs::make_absolute("test-path");
log fs::make_absolute("/usr/bin");
}
|