Skip to content

Pronto does not raise error when removing blank line from between methods #69

@mariusz-blaszczak

Description

@mariusz-blaszczak

I found following issue:

Steps to recreate

  1. clone repo https://github.com/mariusz-blaszczak/recreate_error_in_pronto_rubocop
  2. bundle install
  3. rubocop main.rb - raises 0 errors
  4. git checkout -b test
  5. Modify file main.rb: remove empty line between methods foo and bar
  6. rubocop main.rb - raises Use empty lines between method definitions
  7. pronto run - does not raise error

Expected

Pronto should raise error Use empty lines between method definitions

Actual

No error from pronto

Additional info

Tested with ruby 2.7.0p0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions