Sha256: 87bf3fa11cadce1899b5bb640b29472a37ed9809c8aee16495697f630e1a424f
Contents?: true
Size: 412 Bytes
Versions: 6
Compression:
Stored size: 412 Bytes
Contents
require "spec_helper" RSpec.describe ::Code::Parser do subject { ::Code::Parser.parse(input) } %w[-1 +a -+--1].each do |input| context input do let!(:input) { input } it { expect { subject }.to_not raise_error } end end ["- /* cool */ 1"].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