This commit is contained in:
Kazuki Tsujimoto 2019-11-08 12:44:31 +09:00
parent 90fc555258
commit cfccd59cb1
No known key found for this signature in database
GPG Key ID: BCEA306C49B81CD7

View File

@ -424,7 +424,7 @@ module TestStruct
assert_nil(o.dig(:b, 0))
end
def test_new_dupilicate
def test_new_duplicate
bug12291 = '[ruby-core:74971] [Bug #12291]'
assert_raise_with_message(ArgumentError, /duplicate member/, bug12291) {
@Struct.new(:a, :a)