diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-06 12:49:46 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-06 12:49:46 +0000 |
commit | 6db52efa714b54646a7ebb9849a4822d6f833d0f (patch) | |
tree | 94e7b5eb7afbb4dc9ae6159f5562fd919b3017fd /test/ruby | |
parent | ded1ed96c84fcd464d81b79ffd861e7a7762e07f (diff) | |
download | ruby-6db52efa714b54646a7ebb9849a4822d6f833d0f.tar.gz |
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
Diffstat (limited to 'test/ruby')
-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") |