1
Fork 0

Auto merge of #33251 - Kintaro:fix-typo-in-fs, r=GuillaumeGomez

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

Just a small correction to fix a typo in an error message in std::fs tests
This commit is contained in:
bors 2016-05-15 20:47:15 -07:00
commit e90307d2a2

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");