summaryrefslogtreecommitdiff
path: root/test/csv
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-04 09:02:47 +0900
committerSutou Kouhei <kou@cozmixng.org>2021-12-24 14:35:33 +0900
commit47c53af16872d61576184b0d6935fcf531564cc4 (patch)
tree846658fb4a3bc4d410b9c54b6147c4742524f2e7 /test/csv
parent083cf6a577f12ddf5c850303a08583599400d92d (diff)
downloadruby-47c53af16872d61576184b0d6935fcf531564cc4.tar.gz
[ruby/csv] Fix typos [ci skip] (https://github.com/ruby/csv/pull/224)
https://github.com/ruby/csv/commit/27c0b66c8f
Diffstat (limited to 'test/csv')
-rw-r--r--test/csv/parse/test_convert.rb2
-rw-r--r--test/csv/test_table.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/csv/parse/test_convert.rb b/test/csv/parse/test_convert.rb
index bfe6ddd527..21d9f20b28 100644
--- a/test/csv/parse/test_convert.rb
+++ b/test/csv/parse/test_convert.rb
@@ -43,7 +43,7 @@ class TestCSVParseConvert < Test::Unit::TestCase
@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 3202963a67..968e64eae7 100644
--- a/test/csv/test_table.rb
+++ b/test/csv/test_table.rb
@@ -20,7 +20,7 @@ class TestCSVTable < Test::Unit::TestCase
@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