test_parse_tree_for_proc (R2RTestCase)

    # File test/test_parse_tree_extensions.rb, line 79
      def test_parse_tree_for_proc # TODO: move?
        p = proc {|a, b, c|}
        s = s(:iter,
              s(:call, nil, :proc, s(:arglist)),
              s(:masgn, s(:array, s(:lasgn, :a), s(:lasgn, :b), s(:lasgn, :c))))

        pt = ParseTree.new(false)
        u = Unifier.new
        sexp = pt.parse_tree_for_proc p

        sexp = u.process(sexp)

        assert_equal s, sexp
      end