Sha256: 13c8c48e919b8e5d307ac6af6a414c832b0b13492e3b7006afdb7ddf96806cfa

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 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

2 entries across 2 versions & 1 rubygems

Version Path
gisele-0.4.0 spec/unit/language/syntax/to_ast/test_var_ref.rb
gisele-0.3.0 spec/unit/language/syntax/to_ast/test_var_ref.rb