summaryrefslogtreecommitdiff
path: root/test/-ext-
diff options
context:
space:
mode:
authorKazuki Tsujimoto <kazuki@callcc.net>2019-11-09 21:12:29 +0900
committerKazuki Tsujimoto <kazuki@callcc.net>2019-11-09 21:12:29 +0900
commit79f0e7aafd0532666a00a49ef8feb838b5e9e208 (patch)
treec184824e146fdf8ba5c8357c8c40987dc220130b /test/-ext-
parentfdfad905227a0e2e4c224d87181041fb75d5082e (diff)
Fix typos
Diffstat (limited to 'test/-ext-')
-rw-r--r--test/-ext-/struct/test_duplicate.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/-ext-/struct/test_duplicate.rb b/test/-ext-/struct/test_duplicate.rb
index 77d61988b6..265102d4fc 100644
--- a/test/-ext-/struct/test_duplicate.rb
+++ b/test/-ext-/struct/test_duplicate.rb
@@ -3,7 +3,7 @@ require 'test/unit'
require "-test-/struct"
class Bug::Struct::Test_Duplicate < Test::Unit::TestCase
- def test_new_dupilicate
+ def test_new_duplicate
bug12291 = '[ruby-core:74971] [Bug #12291]'
assert_raise_with_message(ArgumentError, /duplicate member/, bug12291) {
Bug::Struct.new_duplicate(nil, "a")
@@ -13,7 +13,7 @@ class Bug::Struct::Test_Duplicate < Test::Unit::TestCase
}
end
- def test_new_dupilicate_under
+ def test_new_duplicate_under
bug12291 = '[ruby-core:74971] [Bug #12291]'
assert_raise_with_message(ArgumentError, /duplicate member/, bug12291) {
Bug::Struct.new_duplicate_under("x", "a")