Fix a typo in error messages in std::fs tests

This commit is contained in:
Simon Wollwage 2016-04-28 12:32:23 +09:00
parent cda7c1cf24
commit 0c05953b1d

View file

@ -1543,7 +1543,7 @@ mod tests {
let result = File::open(filename);
if cfg!(unix) {
error!(result, "o such file or directory");
error!(result, "No such file or directory");
}
if cfg!(windows) {
error!(result, "The system cannot find the file specified");
@ -1558,7 +1558,7 @@ mod tests {
let result = fs::remove_file(filename);
if cfg!(unix) {
error!(result, "o such file or directory");
error!(result, "No such file or directory");
}
if cfg!(windows) {
error!(result, "The system cannot find the file specified");