Sha256: b808929767644a249922ec206692207b8e6842b1ee1e21527e878fc4b243ec61

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

require 'spec_helper'
module Gisele::Language::Syntax
  describe SeqSt, "to_ast" do

    it 'parses as expected' do
      expr     = "seq Task1 Task2 end"
      expected = [:seq_st, [:task_call_st, "Task1"], [:task_call_st, "Task2"]]
      ast(expr, :seq_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_seq_st.rb
gisele-language-0.5.1 spec/language/syntax/to_ast/test_seq_st.rb
gisele-language-0.5.0 spec/language/syntax/to_ast/test_seq_st.rb
gisele-0.5.0 spec/unit/language/syntax/to_ast/test_seq_st.rb