Skip to content

Remove NewlineTest? #4217

Description

@Earlopain

It often breaks just because some source file changed. Latest is ruby/ruby@f4813a3 which needs to be reverse synced. It looks like in the last two years the list of excludes has just grown and nobody seems to care all that much. https://github.com/ruby/prism/commits/main/test/prism/newline_test.rb

It compares newline flags in the prism ast against those from iseq. But either something is not correct or it's not an exact science (currently the rubyvm result is already postprocessed in some way).

Everything is already mostly recorded in the ast snapshot + the visitor does a small bit of work as well based on that ast. So it only really compares against RubyVM with parse.y. I would like to stop doing that. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions