This commit is contained in:
Adrian Heine 2022-01-09 11:51:53 +01:00
parent 0d41e8a833
commit 4eeb280f0d
21 changed files with 44 additions and 44 deletions

View file

@ -98,7 +98,7 @@ fn may_not_read_file() {
#[test]
fn may_not_create_file() {
let symbol = get_symbol(&Path::new("/proc/somefile"));
let symbol = get_symbol(Path::new("/proc/somefile"));
run(async {
// Could also return an error
@ -109,7 +109,7 @@ fn may_not_create_file() {
#[test]
fn directory_missing() {
let symbol = get_symbol(&Path::new("/nonexisting"));
let symbol = get_symbol(Path::new("/nonexisting"));
run(async {
// Could also return an error