Compare commits
5 commits
6ee99686f5
...
7dc87860c3
Author | SHA1 | Date | |
---|---|---|---|
7dc87860c3 | |||
3890a6cc4d | |||
cd4d25d125 | |||
4bd3d5a91d | |||
c82e6575ef |
1 changed files with 2 additions and 0 deletions
|
@ -265,6 +265,7 @@ mod path {
|
||||||
fn should_be_false_when_is_a_link() -> TestResult {
|
fn should_be_false_when_is_a_link() -> TestResult {
|
||||||
let fs = fs::temp().expect("temp fs");
|
let fs = fs::temp().expect("temp fs");
|
||||||
let path = fs.base().join("foo");
|
let path = fs.base().join("foo");
|
||||||
|
// TODO: (#38) create a link
|
||||||
// let_assert!(Ok(_) = fs.file_write(&path, "bar"));
|
// let_assert!(Ok(_) = fs.file_write(&path, "bar"));
|
||||||
let is_dir = fs.path(&path).is_dir().expect("is_dir");
|
let is_dir = fs.path(&path).is_dir().expect("is_dir");
|
||||||
assert!(!is_dir);
|
assert!(!is_dir);
|
||||||
|
@ -348,6 +349,7 @@ mod path {
|
||||||
fn should_be_false_when_is_a_link() -> TestResult {
|
fn should_be_false_when_is_a_link() -> TestResult {
|
||||||
let fs = fs::temp().expect("temp fs");
|
let fs = fs::temp().expect("temp fs");
|
||||||
let path = fs.base().join("foo");
|
let path = fs.base().join("foo");
|
||||||
|
// TODO: (#38) create a link
|
||||||
// let_assert!(Ok(_) = fs.file_write(&path, "bar"));
|
// let_assert!(Ok(_) = fs.file_write(&path, "bar"));
|
||||||
let is_file = fs.path(&path).is_file().expect("is_file");
|
let is_file = fs.path(&path).is_file().expect("is_file");
|
||||||
assert!(!is_file);
|
assert!(!is_file);
|
||||||
|
|
Loading…
Reference in a new issue