# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/binding/op_fetch.rb # # Extracted Wed Jul 05 11:47:50 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