Sha256: 34323c99ae1a4a0f13dfb8ca9c181504b9ba8854c46309f0335c32ae7259d8a4
Contents?: true
Size: 396 Bytes
Versions: 2
Compression:
Stored size: 396 Bytes
Contents
require 'spec_helper' module Finitio describe Syntax, "spacing" do subject{ Syntax.parse(input, root: "spacing") } [ ' ', "\n", " \t\n", " # foo\n" ].each do |source| context "when `#{source}`" do let(:input){ source } it 'should parse' do subject.should eq(source) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
finitio-0.4.1 | spec/unit/syntax/nodes/test_spacing.rb |
finitio-0.4.0 | spec/unit/syntax/nodes/test_spacing.rb |