diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-29 21:19:01 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-30 08:45:01 +0900 |
commit | 45ba027d086a04e09ed6ad48c5ac78e61f1174c4 (patch) | |
tree | 2636ad66eb7245fe19534a03c5cc0fc6ea5aa6a8 /test/ruby/test_system.rb | |
parent | 9f648262f9372cbf21754a411a68e178f0fd8feb (diff) |
Removed unused variables
Diffstat (limited to 'test/ruby/test_system.rb')
-rw-r--r-- | test/ruby/test_system.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb index 477767905b..31c9cd7654 100644 --- a/test/ruby/test_system.rb +++ b/test/ruby/test_system.rb @@ -188,7 +188,7 @@ class TestSystem < Test::Unit::TestCase name = "\u{30c6 30b9 30c8}" tmpfilename = "#{tmpdir}/#{name}.cmd" message = /#{name}\.cmd/ - e = assert_raise_with_message(Errno::ENOENT, message) do + assert_raise_with_message(Errno::ENOENT, message) do system(tmpfilename, exception: true) end open(tmpfilename, "w") {|f| @@ -196,7 +196,7 @@ class TestSystem < Test::Unit::TestCase f.puts "exit 127" f.chmod(0755) } - e = assert_raise_with_message(RuntimeError, message) do + assert_raise_with_message(RuntimeError, message) do system(tmpfilename, exception: true) end end |