fix open_file test code

pull/597/head
k-nasa 5 years ago
parent fe04cf26b6
commit 44e38eae59

@ -8,7 +8,7 @@ fn open_file() {
match res { match res {
Ok(_) => panic!("Found file with random name: We live in a simulation"), Ok(_) => panic!("Found file with random name: We live in a simulation"),
Err(e) => assert_eq!( Err(e) => assert_eq!(
"Could not open `/ashjudlkahasdasdsikdhajik/asdasdasdasdasdasd/fjuiklashdbflasas`", "could not open `/ashjudlkahasdasdsikdhajik/asdasdasdasdasdasd/fjuiklashdbflasas`",
&format!("{}", e) &format!("{}", e)
), ),
} }

Loading…
Cancel
Save