Sha256: 34dd04cdd46578d3548d29c52577b2c6b2ab5b6c033366edf9eae37e852dbf02
Contents?: true
Size: 451 Bytes
Versions: 6
Compression:
Stored size: 451 Bytes
Contents
require "spec_helper" RSpec.describe ::Code::Parser do subject { ::Code::Parser.parse(input) } ["a ** b", "a ** b ** c ** d"].each do |input| context input do let!(:input) { input } it { expect { subject }.to_not raise_error } end end ["1 /* cool */ ** 2", "1 ** /* cool */ 2"].each do |input| context input do let!(:input) { input } it { expect(subject.to_json).to include("cool") } end end end
Version data entries
6 entries across 6 versions & 2 rubygems