about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-19 00:16:35 -0800
committerbors <bors@rust-lang.org>2013-12-19 00:16:35 -0800
commitac28718f73452fbf63bb26d4113d29543913037d (patch)
treea49962c3fc6121e27843e661de8452f8e44da293 /src/libstd
parent52769b61803adc99767b5e7e2aa2bbd51b2ea46a (diff)
parent9578af88763daace30f354a0053b9f73ccc2227d (diff)
downloadrust-ac28718f73452fbf63bb26d4113d29543913037d.tar.gz
rust-ac28718f73452fbf63bb26d4113d29543913037d.zip
auto merge of #11038 : alexcrichton/rust/fix-osx-leak, r=cmr
I haven't landed this fix upstream just yet, but it's opened as
joyent/libuv#1048. For now, I've locally merged it into my fork, and I've
upgraded our repo to point to the new revision.

Closes #11027
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/run.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/run.rs b/src/libstd/run.rs
index 3c4d06bc71f..85b57fdbc35 100644
--- a/src/libstd/run.rs
+++ b/src/libstd/run.rs
@@ -359,8 +359,7 @@ mod tests {
         let mut trapped_io_error = false;
         let opt_outp = io_error::cond.trap(|e| {
             trapped_io_error = true;
-            // FIXME(#11023)
-            assert_eq!(e.kind, if cfg!(windows) { OtherIoError } else { FileNotFound });
+            assert_eq!(e.kind, FileNotFound);
         }).inside(|| -> Option<run::ProcessOutput> {
             run::process_output("no-binary-by-this-name-should-exist", [])
         });