Project

General

Profile

« Previous | Next » 

Revision fc14d3ac

Added by Earlopain (Earlopain _) 3 months ago

[ruby/prism] Allow to test a custom fixtures path during testing

Of course, these won't really be fixtures, but it allows to test against whole codebases
without copying them, doing symlinks or something like that.

For example, I can tell that over the whole RuboCop codebase, there are only 8 files that produce mismatched ast.
Telling what the problem is is a different problem. The ast for real files can and will be huge so I haven't checked yet
(maybe parser bug) but it's nice for discoverability regardless

https://github.com/ruby/prism/commit/2184d82ba6