mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 17:14:01 +02:00
Fix typo
This commit is contained in:
parent
90fc555258
commit
cfccd59cb1
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ module TestStruct
|
||||||
assert_nil(o.dig(:b, 0))
|
assert_nil(o.dig(:b, 0))
|
||||||
end
|
end
|
||||||
|
|
||||||
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) {
|
||||||
@Struct.new(:a, :a)
|
@Struct.new(:a, :a)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue