summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKazuki Tsujimoto <kazuki@callcc.net>2019-11-08 12:44:31 +0900
committerKazuki Tsujimoto <kazuki@callcc.net>2019-11-08 12:44:31 +0900
commitcfccd59cb1adfee7b1f402609a4ee32298a26d87 (patch)
treeb0d612368ebb7b96a3b13704794c81d20661aa01 /test
parent90fc5552580b8d6223a513dfa6ee5d0f8532b22a (diff)
Fix typo
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_struct.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_struct.rb b/test/ruby/test_struct.rb
index 06a8a1bb92..2c725f112f 100644
--- a/test/ruby/test_struct.rb
+++ b/test/ruby/test_struct.rb
@@ -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)