blob: 911b1fa64046bc6c1a87cb52d0356c6632f54480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import core::*;
// 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");
}
|