Skip to content

Commit

Permalink
bundle exec standardrb --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thbar committed Nov 8, 2024
1 parent b4ab82c commit 185730f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/support/shared_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def shared_tests_for(desc, &block)
@@shared_tests[desc] = block
end

def shared_tests(desc, *args)
class_exec(*args, &@@shared_tests.fetch(desc))
def shared_tests(desc, *)
class_exec(*, &@@shared_tests.fetch(desc))
end
end
2 changes: 1 addition & 1 deletion test/test_integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_csv_to_csv

# returning nil dismisses the row
transform do |row|
row[:sex] == "Female" ? row : nil
(row[:sex] == "Female") ? row : nil
end

transform TestRenameFieldTransform, :sex, :sex_2015
Expand Down

0 comments on commit 185730f

Please sign in to comment.