Sha256: ae5533874021e5badc1c193a951c6712e019786117afbc2f77c76d1f2f84e3ba

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

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

describe Melbourne::Parser do

  it 'should correctly parse "$1"' do
    ruby = '$1'
    ast  = {:nthref=>{:@line=>1, :@which=>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/nth_ref_spec.rb
melbourne-1.0.0 spec/lib/parser/nth_ref_spec.rb