require "spec_helper" RSpec.describe ::Code::Parser do subject { ::Code::Parser.parse(input) } %w[!a !!a !!!!a].each do |input| context input do let!(:input) { input } it { expect { subject }.to_not raise_error } end end end