Sha256: e3f239286a3dbe2007b4956fa86a161f488d3b40110712ad9470b7750e9b92a1

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 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("test/ripper_ruby_parser/**/*.rb").each do |file|
    describe "for #{file}" do
      let :program do
        File.read file
      end

      it "gives the same result" do
        _(program).must_be_parsed_as_before
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ripper_ruby_parser-1.7.2 test/end_to_end/test_comparison_test.rb