aboutsummaryrefslogtreecommitdiffstats
path: root/test/etc/test_etc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/etc/test_etc.rb')
-rw-r--r--test/etc/test_etc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/etc/test_etc.rb b/test/etc/test_etc.rb
index 4c2b1f841d..adf0b364b3 100644
--- a/test/etc/test_etc.rb
+++ b/test/etc/test_etc.rb
@@ -154,7 +154,7 @@ class TestEtc < Test::Unit::TestCase
rescue ArgumentError
end
IO.pipe {|r, w|
- val = r.pathconf(Etc::PC_PIPE_BUF)
+ val = w.pathconf(Etc::PC_PIPE_BUF)
assert(val.nil? || val.kind_of?(Integer))
}
end