mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/rubygems/test_gem_commands_open_command.rb: prevent a warning
http://rubyci.s3.amazonaws.com/debian9/ruby-master/log/20210518T093002Z.log.html.gz ``` [ 9396/21186] TestGemCommandsOpenCommand#test_execute-e:1: warning: possibly useless use of a literal in void context = 0.06 s ```
This commit is contained in:
parent
837cbea64b
commit
ceea1ea8af
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase
|
|||
|
||||
def test_execute
|
||||
@cmd.options[:args] = %w[foo]
|
||||
@cmd.options[:editor] = "#{Gem.ruby} -e0 --"
|
||||
@cmd.options[:editor] = "#{Gem.ruby} -eexit --"
|
||||
|
||||
gem 'foo', '1.0.0'
|
||||
spec = gem 'foo', '1.0.1'
|
||||
|
|
Loading…
Reference in a new issue