Sha256: 220f5fb02147bc83d4a649a37645746384a974e68f6635e7af4aa5686ce6d60a
Contents?: true
Size: 442 Bytes
Versions: 11
Compression:
Stored size: 442 Bytes
Contents
require 'helper' require 'parser/current' class TestCurrent < MiniTest::Unit::TestCase def test_current case RUBY_VERSION when '1.8.7' assert_equal Parser::Ruby18, Parser::CurrentRuby when '1.9.2', '1.9.3' assert_equal Parser::Ruby19, Parser::CurrentRuby when '2.0.0' assert_equal Parser::Ruby20, Parser::CurrentRuby else flunk "Update test_parser_current for #{RUBY_VERSION}" end end end
Version data entries
11 entries across 11 versions & 1 rubygems