Sha256: a156b85f6d271615488734e5b9618ae35bd704fe2eb3ad800694499fc199fc07
Contents?: true
Size: 676 Bytes
Versions: 2
Compression:
Stored size: 676 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe Melbourne::Parser do it 'should correctly parse "(a...b)"' do ruby = '(a...b)' ast = {:rangeexclude=> {:@start=> {:send=> {:@block=>nil, :@name=>:a, :@line=>1, :@privately=>true, :@receiver=>{:self=>{:@line=>1}}, :@check_for_local=>false}}, :@finish=> {:send=> {:@block=>nil, :@name=>:b, :@line=>1, :@privately=>true, :@receiver=>{:self=>{:@line=>1}}, :@check_for_local=>false}}, :@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/dot3_spec.rb |
melbourne-1.0.0 | spec/lib/parser/dot3_spec.rb |