fix open_file test code

This commit is contained in:
k-nasa 2019-11-28 19:52:46 +09:00
parent fe04cf26b6
commit 44e38eae59

View file

@ -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)
), ),
} }