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:
commit
e90307d2a2
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue