summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-09-10 06:09:09 +0900
committeraycabta <aycabta@gmail.com>2021-09-10 06:37:07 +0900
commit3bd596efa45cf7e33529906b648b98e219a16fe2 (patch)
treec7520d9add9ccf57446b4c1d2a3425bb93ad59f9
parent90afe5f11f9c70ebab1ccb318712692884498931 (diff)
[ruby/irb] Remove an unused variable
https://github.com/ruby/irb/commit/5bf1cb2078
-rw-r--r--test/irb/test_workspace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_workspace.rb b/test/irb/test_workspace.rb
index 61653486a1..1e24aded82 100644
--- a/test/irb/test_workspace.rb
+++ b/test/irb/test_workspace.rb
@@ -84,7 +84,7 @@ module TestIRB
def test_toplevel_binding_local_variables
bug17623 = '[ruby-core:102468]'
bundle_exec = ENV.key?('BUNDLE_GEMFILE') ? ['-rbundler/setup'] : []
- status = assert_in_out_err(bundle_exec + ['-W0', '-e', <<~RUBY , '--', '-f', '--'], 'binding.local_variables', /\[:_\]/, [], bug17623)
+ assert_in_out_err(bundle_exec + ['-W0', '-e', <<~RUBY , '--', '-f', '--'], 'binding.local_variables', /\[:_\]/, [], bug17623)
version = 'xyz' # typical rubygems loading file
load('./exe/irb')
RUBY