Skip to content

Commit

Permalink
Apply standardrb autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
kspurgin committed Jul 30, 2024
1 parent 933b092 commit 302fab0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion features/step_definitions/validation_errors_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,8 @@
end

Then(/^there should be no "(.*?)" errors$/) do |type|
@errors.each { |error| error.type.should_not == type.to_sym }
@errors.each { |error|
error.type.should_not
type.to_sym
}
end
2 changes: 1 addition & 1 deletion lib/csvlint/validate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def parse_contents(stream, line = nil)
end

def csv_options_for_line(line)
# If a specific row_sep has been explicitly specified, don't mess with it
# If a specific row_sep has been explicitly specified, don't mess with it.
return @csv_options unless @csv_options[:row_sep] == :auto

if line.end_with?("\r\n")
Expand Down

0 comments on commit 302fab0

Please sign in to comment.