[前][次][番号順一覧][スレッド一覧]

ruby-changes:58679

From: Kazuki <ko1@a...>
Date: Sat, 9 Nov 2019 21:13:03 +0900 (JST)
Subject: [ruby-changes:58679] 79f0e7aafd (master): Fix typos

https://git.ruby-lang.org/ruby.git/commit/?id=79f0e7aafd

From 79f0e7aafd0532666a00a49ef8feb838b5e9e208 Mon Sep 17 00:00:00 2001
From: Kazuki Tsujimoto <kazuki@c...>
Date: Sat, 9 Nov 2019 21:12:29 +0900
Subject: Fix typos


diff --git a/test/-ext-/struct/test_duplicate.rb b/test/-ext-/struct/test_duplicate.rb
index 77d6198..265102d 100644
--- a/test/-ext-/struct/test_duplicate.rb
+++ b/test/-ext-/struct/test_duplicate.rb
@@ -3,7 +3,7 @@ require 'test/unit' https://github.com/ruby/ruby/blob/trunk/test/-ext-/struct/test_duplicate.rb#L3
 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")
@@ -13,7 +13,7 @@ class Bug::Struct::Test_Duplicate < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/-ext-/struct/test_duplicate.rb#L13
     }
   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")
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]