summaryrefslogtreecommitdiff
path: root/test/irb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-24 11:00:08 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-24 11:00:08 +0000
commitdff3d5dc6943ff7f72882bb3f3349737d7b8e3a8 (patch)
tree9bcd2d806008d21b72a964d34bbcbf1753d73ff1 /test/irb
parent9560d2e0fb74f5c23e4919a4bccdadc7540030ca (diff)
Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/irb')
-rw-r--r--test/irb/test_workspace.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/irb/test_workspace.rb b/test/irb/test_workspace.rb
index c78d18a6cb..ce4c86d20b 100644
--- a/test/irb/test_workspace.rb
+++ b/test/irb/test_workspace.rb
@@ -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