Sha256: f67ce2883655064607d1090a2e4b616e73e0fc062c825b51bc22a1581a07a5b7

Contents?: true

Size: 472 Bytes

Versions: 2

Compression:

Stored size: 472 Bytes

Contents

#
# testing ruote
#
# Fri Dec 24 15:35:17 JST 2010
#

require File.join(File.dirname(__FILE__), 'base')


class EftLetTest < Test::Unit::TestCase
  include FunctionalBase

  def test_let

    pdef = Ruote.process_definition do
      set 'v:var' => 'val'
      echo "out:${v:var}"
      let do
        set 'v:var' => 'val1'
        echo "in:${v:var}"
      end
      echo "out:${v:var}"
    end

    #noisy

    assert_trace %w[ out:val in:val1 out:val ], pdef
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ruote-maestrodev-2.2.1 test/functional/eft_33_let.rb
ruote-2.2.0 test/functional/eft_33_let.rb