aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io_m17n.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_io_m17n.rb')
-rw-r--r--test/ruby/test_io_m17n.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index 8f2bd6feea..0ae8c793b0 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -38,14 +38,14 @@ class TestIO_M17N < Test::Unit::TestCase
we = $!
end
end
- flunk("timeout") unless rt.join(10) && wt.join(10)
+ flunk("timeout") unless wt.join(10) && rt.join(10)
ensure
- r.close unless !r || r.closed?
w.close unless !w || w.closed?
- (rt.kill; rt.join) if rt
+ r.close unless !r || r.closed?
(wt.kill; wt.join) if wt
- raise re if re
+ (rt.kill; rt.join) if rt
raise we if we
+ raise re if re
end
def with_pipe(*args)