test/parse_helper.rb in parser-2.6.0.0 vs test/parse_helper.rb in parser-2.6.2.0

- old
+ new

@@ -5,11 +5,11 @@ require 'parser/all' require 'parser/macruby' require 'parser/rubymotion' - ALL_VERSIONS = %w(1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 mac ios) + ALL_VERSIONS = %w(1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 mac ios) def setup @diagnostics = [] super if defined?(super) @@ -24,9 +24,10 @@ when '2.2' then parser = Parser::Ruby22.new when '2.3' then parser = Parser::Ruby23.new when '2.4' then parser = Parser::Ruby24.new when '2.5' then parser = Parser::Ruby25.new when '2.6' then parser = Parser::Ruby26.new + when '2.7' then parser = Parser::Ruby27.new when 'mac' then parser = Parser::MacRuby.new when 'ios' then parser = Parser::RubyMotion.new else raise "Unrecognized Ruby version #{version}" end