mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
9560d2e0fb
commit
dff3d5dc69
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ require 'irb/workspace'
|
||||||
|
|
||||||
module TestIRB
|
module TestIRB
|
||||||
class TestWorkSpace < Test::Unit::TestCase
|
class TestWorkSpace < Test::Unit::TestCase
|
||||||
def test_code_around_bindinig
|
def test_code_around_binding
|
||||||
Tempfile.create do |f|
|
Tempfile.create do |f|
|
||||||
code = <<~RUBY
|
code = <<~RUBY
|
||||||
# 1
|
# 1
|
||||||
|
@ -32,7 +32,7 @@ module TestIRB
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_code_around_bindinig_with_script_lines__
|
def test_code_around_binding_with_script_lines__
|
||||||
with_script_lines do |script_lines|
|
with_script_lines do |script_lines|
|
||||||
Tempfile.create do |f|
|
Tempfile.create do |f|
|
||||||
code = "IRB::WorkSpace.new(binding)\n"
|
code = "IRB::WorkSpace.new(binding)\n"
|
||||||
|
@ -50,7 +50,7 @@ module TestIRB
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_code_around_bindinig_on_irb
|
def test_code_around_binding_on_irb
|
||||||
workspace = eval("IRB::WorkSpace.new(binding)", binding, "(irb)")
|
workspace = eval("IRB::WorkSpace.new(binding)", binding, "(irb)")
|
||||||
assert_equal(nil, workspace.code_around_binding)
|
assert_equal(nil, workspace.code_around_binding)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue