Sha256: 649c502c34273f98886a5eabb2670b1a053b814ea224a687783ca595a10fdaaf

Contents?: true

Size: 204 Bytes

Versions: 8

Compression:

Stored size: 204 Bytes

Contents

require 'spec_helper'

describe 'Constructing literal hexps' do
  it do
    H[:p].should == Hexp::Node.new(:p, {}, [])
  end

  it do
    H[:p, "foo"].should == Hexp::Node.new(:p, {}, ["foo"])
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hexp-0.3.3 spec/integration/literal_syntax_spec.rb
hexp-0.3.2 spec/integration/literal_syntax_spec.rb
hexp-0.3.1 spec/integration/literal_syntax_spec.rb
hexp-0.3.0 spec/integration/literal_syntax_spec.rb
hexp-0.2.0 spec/integration/literal_syntax_spec.rb
hexp-0.0.1 spec/integration/literal_syntax_spec.rb
hexp-0.0.1.pre4 spec/integration/literal_syntax_spec.rb
hexp-0.0.1.pre3 spec/integration/literal_syntax_spec.rb