зеркало из https://github.com/github/ruby.git
Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9560d2e0fb
Коммит
dff3d5dc69
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче