Sha256: 95875a0899f846880d600b3629aa2abceec5304d79804f6b944d438c481630af

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

require File.expand_path("../test_helper.rb", File.dirname(__FILE__))
require "ruby_parser"

describe "Using RipperRubyParser and RubyParser" do
  Dir.glob(File.expand_path("../samples/*.rb", File.dirname(__FILE__))).each do |file|
    it "gives the same result for #{file}" do
      program = File.read file
      _(program).must_be_parsed_as_before
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ripper_ruby_parser-1.7.2 test/end_to_end/samples_comparison_test.rb
ripper_ruby_parser-1.7.1 test/end_to_end/samples_comparison_test.rb
ripper_ruby_parser-1.7.0 test/end_to_end/samples_comparison_test.rb