mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typos
This commit is contained in:
parent
cc9bc14530
commit
4314c05377
1 changed files with 4 additions and 4 deletions
|
@ -74,10 +74,10 @@ module TestIRB
|
||||||
|
|
||||||
def test_irb_info_multiline_without_rc_files
|
def test_irb_info_multiline_without_rc_files
|
||||||
inputrc_backup = ENV["INPUTRC"]
|
inputrc_backup = ENV["INPUTRC"]
|
||||||
ENV["INPUTRC"] = "unkown_inpurc"
|
ENV["INPUTRC"] = "unknown_inpurc"
|
||||||
ext_backup = IRB::IRBRC_EXT
|
ext_backup = IRB::IRBRC_EXT
|
||||||
IRB.__send__(:remove_const, :IRBRC_EXT)
|
IRB.__send__(:remove_const, :IRBRC_EXT)
|
||||||
IRB.const_set(:IRBRC_EXT, "unkown_ext")
|
IRB.const_set(:IRBRC_EXT, "unknown_ext")
|
||||||
IRB.setup(__FILE__, argv: [])
|
IRB.setup(__FILE__, argv: [])
|
||||||
IRB.conf[:USE_MULTILINE] = true
|
IRB.conf[:USE_MULTILINE] = true
|
||||||
IRB.conf[:USE_SINGLELINE] = false
|
IRB.conf[:USE_SINGLELINE] = false
|
||||||
|
@ -100,10 +100,10 @@ module TestIRB
|
||||||
|
|
||||||
def test_irb_info_singleline_without_rc_files
|
def test_irb_info_singleline_without_rc_files
|
||||||
inputrc_backup = ENV["INPUTRC"]
|
inputrc_backup = ENV["INPUTRC"]
|
||||||
ENV["INPUTRC"] = "unkown_inpurc"
|
ENV["INPUTRC"] = "unknown_inpurc"
|
||||||
ext_backup = IRB::IRBRC_EXT
|
ext_backup = IRB::IRBRC_EXT
|
||||||
IRB.__send__(:remove_const, :IRBRC_EXT)
|
IRB.__send__(:remove_const, :IRBRC_EXT)
|
||||||
IRB.const_set(:IRBRC_EXT, "unkown_ext")
|
IRB.const_set(:IRBRC_EXT, "unknown_ext")
|
||||||
IRB.setup(__FILE__, argv: [])
|
IRB.setup(__FILE__, argv: [])
|
||||||
IRB.conf[:USE_MULTILINE] = false
|
IRB.conf[:USE_MULTILINE] = false
|
||||||
IRB.conf[:USE_SINGLELINE] = true
|
IRB.conf[:USE_SINGLELINE] = true
|
||||||
|
|
Loading…
Add table
Reference in a new issue