Normalize ASTs before mutating spec examples
* Reduces smantically unneded empty begin nodes etc. * Allows to sharp specs.
This commit is contained in:
parent
5dc4ad2e4c
commit
aa0afcd11b
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ module ParserHelper
|
|||
end
|
||||
|
||||
def parse(string)
|
||||
Parser::CurrentRuby.parse(string)
|
||||
Unparser::Preprocessor.run(Parser::CurrentRuby.parse(string))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue