Sha256: 1fd9ba8159cad765928baeae7bf84fae8da5620530e72c4c35cbc551a21668bc
Contents?: true
Size: 392 Bytes
Versions: 3
Compression:
Stored size: 392 Bytes
Contents
require 'spec_helper' module Qrb 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qrb-0.3.0 | spec/unit/syntax/nodes/test_spacing.rb |
qrb-0.2.0 | spec/unit/syntax/nodes/test_spacing.rb |
qrb-0.1.0 | spec/unit/syntax/nodes/test_spacing.rb |