diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_hash.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_regexp.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_symbol.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_variable.rb | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 770d0b863e..b79f9aa0cc 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -1183,7 +1183,7 @@ class TestHash < Test::Unit::TestCase assert_equal({o=>1}.hash, @cls[o=>1].hash) end - def test_hash_poped + def test_hash_popped assert_nothing_raised { eval("a = 1; @cls[a => a]; a") } end diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index 6039eaf8e2..c93ed968d1 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -1041,7 +1041,7 @@ class TestRegexp < Test::Unit::TestCase assert_equal("hoge fuga", h["body"]) end - def test_regexp_poped + def test_regexp_popped assert_nothing_raised { eval("a = 1; /\#{ a }/; a") } assert_nothing_raised { eval("a = 1; /\#{ a }/o; a") } end diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index 24d319211f..9cb3fb5e04 100644 --- a/test/ruby/test_symbol.rb +++ b/test/ruby/test_symbol.rb @@ -325,7 +325,7 @@ class TestSymbol < Test::Unit::TestCase assert_raise(ArgumentError) { :"foo".match } end - def test_symbol_poped + def test_symbol_popped assert_nothing_raised { eval('a = 1; :"#{ a }"; 1') } end diff --git a/test/ruby/test_variable.rb b/test/ruby/test_variable.rb index 4606f725c3..3a55189ed7 100644 --- a/test/ruby/test_variable.rb +++ b/test/ruby/test_variable.rb @@ -116,7 +116,7 @@ class TestVariable < Test::Unit::TestCase assert_in_out_err(["-e", "$0='t'*1000;print $0"], "", /\At+\z/, []) end - def test_global_variable_poped + def test_global_variable_popped assert_nothing_raised { EnvUtil.suppress_warning { eval("$foo; 1") @@ -124,7 +124,7 @@ class TestVariable < Test::Unit::TestCase } end - def test_constant_poped + def test_constant_popped assert_nothing_raised { EnvUtil.suppress_warning { eval("TestVariable::Gods; 1") |