Sha256: b9ff7bef69f1d2c81053e5e49019e4ad2cf16ad20aa7d71917f5e546a5301d36
Contents?: true
Size: 494 Bytes
Versions: 21
Compression:
Stored size: 494 Bytes
Contents
require "spec_helper" RSpec.describe "Code::Parser" do subject { Code::Parser.parse(input) } [ ["", []], [" ", []], ["\n", []], ["nothing", [{ nothing: "nothing" }]], [" nothing ", [{ nothing: "nothing" }]], [ "nothing null nil", [{ nothing: "nothing" }, { nothing: "null" }, { nothing: "nil" }] ] ].each do |input, output| context input.inspect do let(:input) { input } it { expect(subject).to eq(output) } end end end
Version data entries
21 entries across 21 versions & 3 rubygems