Sha256: adc32e79a01c0fe3471867b9ab1d1b56609cb5527cb7e164e730c2f420e467ea
Contents?: true
Size: 297 Bytes
Versions: 4
Compression:
Stored size: 297 Bytes
Contents
require 'spec_helper' module Gisele::Language::Syntax describe ParSt, "to_ast" do it 'parses as expected' do expr = "par Task1 Task2 end" expected = [:par_st, [:task_call_st, "Task1"], [:task_call_st, "Task2"]] ast(expr, :par_st).should eq(expected) end end end
Version data entries
4 entries across 4 versions & 2 rubygems