Sha256: dd549c8d2fbd7c553bfb75a7b8fd043943bd431f622ded5a023640f344c6f817

Contents?: true

Size: 214 Bytes

Versions: 7

Compression:

Stored size: 214 Bytes

Contents

require 'spec_helper'

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

  it do
    expect(H[:p, "foo"]).to eql Hexp::Node.new(:p, {}, ["foo"])
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hexp-0.4.6 spec/integration/literal_syntax_spec.rb
hexp-0.4.5 spec/integration/literal_syntax_spec.rb
hexp-0.4.4 spec/integration/literal_syntax_spec.rb
hexp-0.4.3 spec/integration/literal_syntax_spec.rb
hexp-0.4.2 spec/integration/literal_syntax_spec.rb
hexp-0.4.1 spec/integration/literal_syntax_spec.rb
hexp-0.4.0.beta1 spec/integration/literal_syntax_spec.rb