git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-11-24 11:00:08 +00:00
Родитель 9560d2e0fb
Коммит dff3d5dc69
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -5,7 +5,7 @@ require 'irb/workspace'
module TestIRB
class TestWorkSpace < Test::Unit::TestCase
def test_code_around_bindinig
def test_code_around_binding
Tempfile.create do |f|
code = <<~RUBY
# 1
@ -32,7 +32,7 @@ module TestIRB
end
end
def test_code_around_bindinig_with_script_lines__
def test_code_around_binding_with_script_lines__
with_script_lines do |script_lines|
Tempfile.create do |f|
code = "IRB::WorkSpace.new(binding)\n"
@ -50,7 +50,7 @@ module TestIRB
end
end
def test_code_around_bindinig_on_irb
def test_code_around_binding_on_irb
workspace = eval("IRB::WorkSpace.new(binding)", binding, "(irb)")
assert_equal(nil, workspace.code_around_binding)
end