Compare commits

..

5 commits

Author SHA1 Message Date
7dc87860c3 build: remove unlinked files
UNLINK
2024-11-08 18:07:06 +00:00
3890a6cc4d feat(network)!: remove legacy network interface 2024-11-08 18:07:06 +00:00
cd4d25d125 feat(net)!: fluent api
Closes kemitix/kxio#43
2024-11-08 18:07:06 +00:00
4bd3d5a91d tests(fs): add more test 2024-11-08 18:06:19 +00:00
c82e6575ef build: ignore cargo-mutants output
Some checks failed
Rust / build (map[name:nightly]) (push) Failing after 14s
Rust / build (map[name:stable]) (push) Failing after 1m0s
2024-11-08 18:02:52 +00:00

View file

@ -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);