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

ruby-changes:70513

From: Nobuyoshi <ko1@a...>
Date: Fri, 24 Dec 2021 14:41:18 +0900 (JST)
Subject: [ruby-changes:70513] 47c53af168 (master): [ruby/csv] Fix typos [ci skip] (https://github.com/ruby/csv/pull/224)

https://git.ruby-lang.org/ruby.git/commit/?id=47c53af168

From 47c53af16872d61576184b0d6935fcf531564cc4 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 4 Nov 2021 09:02:47 +0900
Subject: [ruby/csv] Fix typos [ci skip] (https://github.com/ruby/csv/pull/224)

https://github.com/ruby/csv/commit/27c0b66c8f
---
 test/csv/parse/test_convert.rb | 2 +-
 test/csv/test_table.rb         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/csv/parse/test_convert.rb b/test/csv/parse/test_convert.rb
index bfe6ddd527c..21d9f20b28e 100644
--- a/test/csv/parse/test_convert.rb
+++ b/test/csv/parse/test_convert.rb
@@ -43,7 +43,7 @@ class TestCSVParseConvert < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/csv/parse/test_convert.rb#L43
                  @parser.shift)
   end
 
-  def test_numberic
+  def test_numeric
     @parser.convert(:numeric)
     assert_equal(["Numbers", ":integer", 1, ":float", 3.015],
                  @parser.shift)
diff --git a/test/csv/test_table.rb b/test/csv/test_table.rb
index 3202963a676..968e64eae70 100644
--- a/test/csv/test_table.rb
+++ b/test/csv/test_table.rb
@@ -20,7 +20,7 @@ class TestCSVTable < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/csv/test_table.rb#L20
     @header_only_table = CSV::Table.new([], headers: %w{A B C})
   end
 
-  def test_initialze
+  def test_initialize
     assert_not_nil(@table)
     assert_instance_of(CSV::Table, @table)
   end
-- 
cgit v1.2.1


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

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