Sha256: fffc295f35e29f2f5774794dd6c6c1b494043cd5f8f9de012b162d1dc95be502
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/binding/local_variables.rb # # Extracted Tue Jun 20 15:12:26 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/binding/local_variables.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_local_variables assert_equal( ["a","b","x"], @bind.local_variables ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.2 | test/lib/facets/core/binding/test_local_variables.rb |