about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-05-15 20:47:15 -0700
committerbors <bors@rust-lang.org>2016-05-15 20:47:15 -0700
commite90307d2a214614ca55ce31371c0768d7bffa114 (patch)
tree9628a9bc177a0c005380c8ab974ce5965cd7ca7d /src/libstd
parentbb39c4925a792b1dbb2bfa0323339fdf4297c4ac (diff)
parent0c05953b1dfb1a98ea17602b2cafd2960edae1f6 (diff)
downloadrust-e90307d2a214614ca55ce31371c0768d7bffa114.tar.gz
rust-e90307d2a214614ca55ce31371c0768d7bffa114.zip
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
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/fs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index c19fe1e1d26..587c7a95861 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -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");