Fix RuboCop unit tests on modern versions.

Review Request #13080 — Created May 30, 2023 and submitted

Information

ReviewBot
release-3.x

Reviewers

Modern versions of RuboCop show syntax errors as a "fatal" type instead
of an "error" type, which is certainly more reasonable. This updates the
unit tests to test against this expectation.

No changes are needed for the main RuboCop integration.

Upgraded RuboCop locally and ran unit tests. Verified the fix.

Summary ID
Fix RuboCop unit tests on modern versions.
Modern versions of RuboCop show syntax errors as a "fatal" type instead of an "error" type, which is certainly more reasonable. This updates the unit tests to test against this expectation. No changes are needed for the main RuboCop integration.
65c7427762abe20682ba7a69553d898041ec3011
david
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (36f6ee7)