aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-20 04:44:09 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-20 04:44:09 +0000
commit41c42afddab5173c281fd1b6a8af2f522c540cc8 (patch)
tree7214d9c2b4a45c8a1a9ad54ca468ec055ef1bc60
parent4ece8eea114894bb4cff89255535daa4cd570998 (diff)
downloadruby-41c42afddab5173c281fd1b6a8af2f522c540cc8.tar.gz
Fix typo in tests
* test/ruby/test_proc.rb: s/overriden/overridden/ * test/ruby/test_refinement.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/ruby/test_proc.rb4
-rw-r--r--test/ruby/test_refinement.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb
index aca1903df8..b40485f582 100644
--- a/test/ruby/test_proc.rb
+++ b/test/ruby/test_proc.rb
@@ -1198,12 +1198,12 @@ class TestProc < Test::Unit::TestCase
}
end
- def test_overriden_lambda
+ def test_overridden_lambda
bug8345 = '[ruby-core:54687] [Bug #8345]'
assert_normal_exit('def lambda; end; method(:puts).to_proc', bug8345)
end
- def test_overriden_proc
+ def test_overridden_proc
bug8345 = '[ruby-core:54688] [Bug #8345]'
assert_normal_exit('def proc; end; ->{}.curry', bug8345)
end
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb
index 98dae15f00..07a325c1b8 100644
--- a/test/ruby/test_refinement.rb
+++ b/test/ruby/test_refinement.rb
@@ -246,13 +246,13 @@ class TestRefinement < Test::Unit::TestCase
module FixnumPlusExt
refine Fixnum do
def self.method_added(*args); end
- def +(other) "overriden" end
+ def +(other) "overridden" end
end
end
def test_override_builtin_method_with_method_added
assert_equal(3, 1 + 2)
- assert_equal("overriden", eval_using(FixnumPlusExt, "1 + 2"))
+ assert_equal("overridden", eval_using(FixnumPlusExt, "1 + 2"))
assert_equal(3, 1 + 2)
end