Sha256: 383c54c3050648bbf682f91279703c888efe15e91934d59347f44c8a44b0ce39

Contents?: true

Size: 270 Bytes

Versions: 2

Compression:

Stored size: 270 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

describe Melbourne::Parser do

  it 'should correctly parse "::X"' do
    ruby = '::X'
    ast  = {:constattop=>{:@parent=>{:toplevel=>{:@line=>1}}, :@name=>:X, :@line=>1}}

    ruby.should parse_as(ast)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
melbourne-1.0.1 spec/lib/parser/colon3_spec.rb
melbourne-1.0.0 spec/lib/parser/colon3_spec.rb