From 289abae0cad74e8b42079d4f292b6c0df59ac733 Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Fri, 11 Aug 2023 13:35:12 -0400 Subject: [PATCH] Fix --- test/requests/diagnostics_expectations_test.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/requests/diagnostics_expectations_test.rb b/test/requests/diagnostics_expectations_test.rb index 7f9f6fbf0..95be3b31f 100644 --- a/test/requests/diagnostics_expectations_test.rb +++ b/test/requests/diagnostics_expectations_test.rb @@ -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)