test/binding/tc_binding.rb in facets-0.6.3 vs test/binding/tc_binding.rb in facets-0.7.0
- old
+ new
@@ -1,25 +1,29 @@
require 'test/unit'
+require "facet/binding/%5B%5D"
+require "facet/binding/%5B%5D%3D"
require "facet/binding/eval"
require "facet/binding/self"
-require "facet/binding/caller"
-require "facet/binding/defined?"
require "facet/binding/called"
+require "facet/binding/caller"
+require "facet/binding/defined%3F"
+require "facet/binding/filename"
require "facet/binding/local_variables"
require "facet/binding/lineno"
-require "facet/binding/delegate!"
+require "facet/binding/method_name"
+#require "facet/binding/delegate"
class TC_Binding < 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 = 21
+ @bind = binding; @this_line_no = 25
end
# eval
def test_eval