Sha256: 992a13c029d4d8e0c0fa83bf5fa1d142726d6f55c036d0e01ddc3b1dd1e9d252
Contents?: true
Size: 558 Bytes
Versions: 62
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true require "spec_helper" RSpec.describe Code::Parser do [ "", " ", "\n", "# comment", "/* comment", "/* comment */", "// comment", "/* first comment */ # second comment", "nothing", " nothing ", "nothing nothing nothing" ].each do |input, _output| it input.inspect do Code::Parser.parse(input) end end Dir["spec/fixtures/code/parser/**/*.code"].each do |filename| it "parses #{filename}" do Code::Parser.parse(File.read(filename)) end end end
Version data entries
62 entries across 62 versions & 1 rubygems