aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_open3.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-29 21:19:01 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-30 08:45:01 +0900
commit45ba027d086a04e09ed6ad48c5ac78e61f1174c4 (patch)
tree2636ad66eb7245fe19534a03c5cc0fc6ea5aa6a8 /test/test_open3.rb
parent9f648262f9372cbf21754a411a68e178f0fd8feb (diff)
downloadruby-45ba027d086a04e09ed6ad48c5ac78e61f1174c4.tar.gz
Removed unused variables
Diffstat (limited to 'test/test_open3.rb')
-rw-r--r--test/test_open3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_open3.rb b/test/test_open3.rb
index 6842ac8d8c..848f70b07d 100644
--- a/test/test_open3.rb
+++ b/test/test_open3.rb
@@ -77,7 +77,7 @@ class TestOpen3 < Test::Unit::TestCase
end
def test_env
- result = Open3.popen3({'A' => 'B', 'C' => 'D'}, RUBY, '-e' 'p ENV["A"]') do |i, out, err, thr|
+ Open3.popen3({'A' => 'B', 'C' => 'D'}, RUBY, '-e' 'p ENV["A"]') do |i, out, err, thr|
output = out.read
assert_equal("\"B\"\n", output)
end