mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typos
This commit is contained in:
parent
fdfad90522
commit
79f0e7aafd
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ require 'test/unit'
|
||||||
require "-test-/struct"
|
require "-test-/struct"
|
||||||
|
|
||||||
class Bug::Struct::Test_Duplicate < Test::Unit::TestCase
|
class Bug::Struct::Test_Duplicate < Test::Unit::TestCase
|
||||||
def test_new_dupilicate
|
def test_new_duplicate
|
||||||
bug12291 = '[ruby-core:74971] [Bug #12291]'
|
bug12291 = '[ruby-core:74971] [Bug #12291]'
|
||||||
assert_raise_with_message(ArgumentError, /duplicate member/, bug12291) {
|
assert_raise_with_message(ArgumentError, /duplicate member/, bug12291) {
|
||||||
Bug::Struct.new_duplicate(nil, "a")
|
Bug::Struct.new_duplicate(nil, "a")
|
||||||
|
@ -13,7 +13,7 @@ class Bug::Struct::Test_Duplicate < Test::Unit::TestCase
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_new_dupilicate_under
|
def test_new_duplicate_under
|
||||||
bug12291 = '[ruby-core:74971] [Bug #12291]'
|
bug12291 = '[ruby-core:74971] [Bug #12291]'
|
||||||
assert_raise_with_message(ArgumentError, /duplicate member/, bug12291) {
|
assert_raise_with_message(ArgumentError, /duplicate member/, bug12291) {
|
||||||
Bug::Struct.new_duplicate_under("x", "a")
|
Bug::Struct.new_duplicate_under("x", "a")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue