Sha256: c14bb420b328b94b68f37728fe47322e8774ab76347dd226e5059ee3edc7dcbb

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

# Test for facets/binding/eval.rb

require 'facets/binding/eval.rb'
require 'test/unit'

class TC_Binding_Eval < Test::Unit::TestCase

  def setup
    x = "hello"
    @bind = binding; @this_line_no = __LINE__
  end

  def test_eval
    assert_equal( "hello", @bind.eval("x") )
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-2.2.0 test/unit/binding/test_eval.rb
facets-2.2.1 test/unit/binding/test_eval.rb
facets-2.3.0 test/core/binding/test_eval.rb