Sha256: 1d291d07063ef5fa95ae19895e6ac668f03d026bb2f4d51bd3edcc45f360c4a3

Contents?: true

Size: 593 Bytes

Versions: 1

Compression:

Stored size: 593 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/binding/call_stack.rb
#
# Extracted Wed Aug 23 18:22:53 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/binding/call_stack.rb'


  require 'test/unit'

  class TCBinding < Test::Unit::TestCase

    def setup
      a = 1
      b = 2
      x = "hello"
      # the line number must be updated if it moves
      @bind = binding; @this_line_no = 25
    end

    def test_call_stack
      assert_instance_of( Array, @bind.call_stack )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.7.30 test/lib/facets/core/binding/test_call_stack.rb