summaryrefslogtreecommitdiff
path: root/test/ostruct
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-09-17 20:34:59 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-09-17 20:34:59 +0900
commite4dbb91f4cb202b09a2382f322cd66cdc22df348 (patch)
tree7b468c6158459c01ac605c86425eff80d5dd73c6 /test/ostruct
parent63a4f2f93f25b5ad227183c0a46e342572ee08b8 (diff)
Fix typos [ci skip]
s/overriden/overridden/
Diffstat (limited to 'test/ostruct')
-rw-r--r--test/ostruct/test_ostruct.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ostruct/test_ostruct.rb b/test/ostruct/test_ostruct.rb
index 560979e887..8fa7ba6229 100644
--- a/test/ostruct/test_ostruct.rb
+++ b/test/ostruct/test_ostruct.rb
@@ -230,13 +230,13 @@ class TC_OpenStruct < Test::Unit::TestCase
assert_nil os.foo
end
- def test_overriden_private_methods
+ def test_overridden_private_methods
os = OpenStruct.new(puts: :foo, format: :bar)
assert_equal(:foo, os.puts)
assert_equal(:bar, os.format)
end
- def test_overriden_public_methods
+ def test_overridden_public_methods
os = OpenStruct.new(method: :foo, class: :bar)
assert_equal(:foo, os.method)
assert_equal(:bar, os.class)