Sha256: 85b3d1ca9c6c3f2a4f77a304b37fb0393b09bedc1ba022507416af2a0f422952
Contents?: true
Size: 556 Bytes
Versions: 2
Compression:
Stored size: 556 Bytes
Contents
require 'spec_helper' module Gisele::Language describe "the Sexp grammar", "trackvar_def" do let(:g){ Gisele::Language } it 'matches a trackvar with initial value' do trackvar = [:trackvar_def, "name", [:event_set, "update"], [:event_set], true] (sexp_grammar[:trackvar_def] === trackvar).should be_true end it 'matches a trackvar without initial value' do trackvar = [:trackvar_def, "name", [:event_set, "update"], [:event_set], nil] (sexp_grammar[:trackvar_def] === trackvar).should be_true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gisele-language-0.6.0 | spec/language/grammar_sexp/test_trackvar_def.rb |
gisele-language-0.5.1 | spec/language/grammar_sexp/test_trackvar_def.rb |