1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix typos

Patch by: Koichi ITO <koic.ito@gmail.com>
[Fix GH-1498]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2016-12-06 12:49:46 +00:00
parent 769b83f638
commit a560add68a
7 changed files with 141 additions and 141 deletions

268
compile.c

File diff suppressed because it is too large Load diff

View file

@ -12814,7 +12814,7 @@ Thu Aug 5 22:09:30 2010 Tanaka Akira <akr@fsij.org>
Thu Aug 5 21:20:31 2010 Yusuke Endoh <mame@tsg.ne.jp> Thu Aug 5 21:20:31 2010 Yusuke Endoh <mame@tsg.ne.jp>
* compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT * compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT
results when poped is true. [ruby-dev:41933], [Bug #3658] results when popped is true. [ruby-dev:41933], [Bug #3658]
This is retry of r28870 and r28873 which were reverted. This is retry of r28870 and r28873 which were reverted.
Thu Aug 5 20:13:49 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> Thu Aug 5 20:13:49 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>

View file

@ -5783,7 +5783,7 @@ Sun Dec 31 17:42:05 2006 Koichi Sasada <ko1@atdot.net>
* disasm.c : fix ID to String method * disasm.c : fix ID to String method
* compile.c : NODE_SUPER, NODE_ZSUPER check 'poped' * compile.c : NODE_SUPER, NODE_ZSUPER check 'popped'
and NODE_RETURN check outer type and NODE_RETURN check outer type
and NODE_DREGX_ONCE supported (temporarily) and NODE_DREGX_ONCE supported (temporarily)

View file

@ -1183,7 +1183,7 @@ class TestHash < Test::Unit::TestCase
assert_equal({o=>1}.hash, @cls[o=>1].hash) assert_equal({o=>1}.hash, @cls[o=>1].hash)
end end
def test_hash_poped def test_hash_popped
assert_nothing_raised { eval("a = 1; @cls[a => a]; a") } assert_nothing_raised { eval("a = 1; @cls[a => a]; a") }
end end

View file

@ -1041,7 +1041,7 @@ class TestRegexp < Test::Unit::TestCase
assert_equal("hoge fuga", h["body"]) assert_equal("hoge fuga", h["body"])
end end
def test_regexp_poped def test_regexp_popped
assert_nothing_raised { eval("a = 1; /\#{ a }/; a") } assert_nothing_raised { eval("a = 1; /\#{ a }/; a") }
assert_nothing_raised { eval("a = 1; /\#{ a }/o; a") } assert_nothing_raised { eval("a = 1; /\#{ a }/o; a") }
end end

View file

@ -325,7 +325,7 @@ class TestSymbol < Test::Unit::TestCase
assert_raise(ArgumentError) { :"foo".match } assert_raise(ArgumentError) { :"foo".match }
end end
def test_symbol_poped def test_symbol_popped
assert_nothing_raised { eval('a = 1; :"#{ a }"; 1') } assert_nothing_raised { eval('a = 1; :"#{ a }"; 1') }
end end

View file

@ -116,7 +116,7 @@ class TestVariable < Test::Unit::TestCase
assert_in_out_err(["-e", "$0='t'*1000;print $0"], "", /\At+\z/, []) assert_in_out_err(["-e", "$0='t'*1000;print $0"], "", /\At+\z/, [])
end end
def test_global_variable_poped def test_global_variable_popped
assert_nothing_raised { assert_nothing_raised {
EnvUtil.suppress_warning { EnvUtil.suppress_warning {
eval("$foo; 1") eval("$foo; 1")
@ -124,7 +124,7 @@ class TestVariable < Test::Unit::TestCase
} }
end end
def test_constant_poped def test_constant_popped
assert_nothing_raised { assert_nothing_raised {
EnvUtil.suppress_warning { EnvUtil.suppress_warning {
eval("TestVariable::Gods; 1") eval("TestVariable::Gods; 1")