# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/binding/op_fetch.rb # # Extracted Fri Sep 08 20:20:32 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/binding/op_fetch.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_op_fetch assert_equal( "hello", @bind["x"] ) end end