Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Aug 11, 2023
1 parent 6290424 commit 289abae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/requests/diagnostics_expectations_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ def run_expectations(source)
end

assert_empty(stdout)

# On Windows, RuboCop will complain that the file is missing a carriage return at the end. We need to ignore these
T.must(result).map(&:to_lsp_diagnostic).reject { |diagnostic| diagnostic.code == "Layout/EndOfLine" }
T.must(result)
end

def assert_expectations(source, expected)
Expand Down

0 comments on commit 289abae

Please sign in to comment.