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

Version Path
gisele-language-0.6.0 spec/language/syntax/to_ast/test_par_st.rb
gisele-language-0.5.1 spec/language/syntax/to_ast/test_par_st.rb
gisele-language-0.5.0 spec/language/syntax/to_ast/test_par_st.rb
gisele-0.5.0 spec/unit/language/syntax/to_ast/test_par_st.rb