Sha256: 6112d7d55b4f5ea338e10f66aa872527e48a6eb5cc5dbb131b7bcb3b5cecefe0

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

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

    it 'converts a reference as expected' do
      defn     = "goodCond"
      expected = [:var_ref, "goodCond"]
      ast(defn, :var_ref).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_var_ref.rb
gisele-language-0.5.1 spec/language/syntax/to_ast/test_var_ref.rb
gisele-language-0.5.0 spec/language/syntax/to_ast/test_var_ref.rb
gisele-0.5.0 spec/unit/language/syntax/to_ast/test_var_ref.rb