Sha256: c28be586111f5e67d1174f8d3b0a7a4d4665e8dc437d461de20874503bbf48e0

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 Bytes

Contents

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

describe Melbourne::Parser do

  it 'should correctly parse "`touch 5`"' do
    ruby = '`touch 5`'
    ast  = {:executestring=>{:@string=>:"touch 5", :@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/xstr_spec.rb
melbourne-1.0.0 spec/lib/parser/xstr_spec.rb