Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
k-tsj committed Nov 9, 2019
1 parent fdfad90 commit 79f0e7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/-ext-/struct/test_duplicate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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")
Expand All @@ -13,7 +13,7 @@ def test_new_dupilicate
}
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")
Expand Down

0 comments on commit 79f0e7a

Please sign in to comment.