Sha256: b1fe0dfbd5370171ab8a1a4fde429572676b62517a739f1da63f08bcd4c3d03c

Contents?: true

Size: 226 Bytes

Versions: 4

Compression:

Stored size: 226 Bytes

Contents

require 'spec_helper'
module Gisele::Language
  describe Grammar, 'while_st' do

    it 'parses a single while statement' do
      expr = 'while badCond Task end'
      parse(expr, :while_st).should eq(expr)
    end

  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
gisele-language-0.6.0 spec/language/syntax/grammar/test_while_st.rb
gisele-language-0.5.1 spec/language/syntax/grammar/test_while_st.rb
gisele-language-0.5.0 spec/language/syntax/grammar/test_while_st.rb
gisele-0.5.0 spec/unit/language/syntax/grammar/test_while_st.rb