Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ollietulloch committed Dec 3, 2024
1 parent 8754a17 commit ebfffe9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/table_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def test_wrong_header_names
test 'should mutate regexp column names' do
lines = [
%w[1234 STRING_HEADING ABC123],
%w[NUMRIC_ONLY STRING_VALUE ALPHA_NUMBERIC]
%w[NUMERIC_ONLY STRING_VALUE ALPHA_NUMERIC]
].each

table = NdrImport::Table.new(
Expand All @@ -584,7 +584,7 @@ def test_wrong_header_names

expected_output = [
['SomeTestKlass',
{ rawtext: { '1234' => 'NUMRIC_ONLY', 'string_heading' => 'STRING_VALUE', 'abc123' => 'ALPHA_NUMBERIC' } },
{ rawtext: { '1234' => 'NUMERIC_ONLY', 'string_heading' => 'STRING_VALUE', 'abc123' => 'ALPHA_NUMERIC' } },
1]
]
assert_equal expected_output, table.transform(lines).to_a
Expand All @@ -593,7 +593,7 @@ def test_wrong_header_names
test 'should report header errors is regexp column names do not match' do
lines = [
%w[A1234Z STRING_HEADING ABC123],
%w[NUMRIC_ONLY STRING_VALUE ALPHA_NUMBERIC]
%w[NUMERIC_ONLY STRING_VALUE ALPHA_NUMERIC]
].each

table = NdrImport::Table.new(
Expand Down

0 comments on commit ebfffe9

Please sign in to comment.