Sha256: 6aa2a328d7e4cd0700522f1aeb7e61e1ad553253f1aab22afd4186a071576f7d
Contents?: true
Size: 382 Bytes
Versions: 12
Compression:
Stored size: 382 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 { subject } 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
12 entries across 12 versions & 2 rubygems