Clippy
This commit is contained in:
parent
0d41e8a833
commit
4eeb280f0d
21 changed files with 44 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue