Sha256: 0cc7595bb23ff494b409bf8a885fd8867bce4186a706fd9621d919f4cd0b05e1

Contents?: true

Size: 265 Bytes

Versions: 19

Compression:

Stored size: 265 Bytes

Contents

# Test for facets/string/interpolate

require 'facets/string/interpolate.rb'

require 'test/unit'

class TestStringInterpolate < Test::Unit::TestCase

  def test_interpolate
    a = 1
    assert_equal('this is 1', String.interpolate{ 'this is #{a}' })
  end

end


Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/string/test_interpolate.rb
facets-2.8.3 test/core/string/test_interpolate.rb
facets-2.8.2 test/core/string/test_interpolate.rb
facets-2.8.1 test/core/string/test_interpolate.rb
facets-2.8.0 test/core/string/test_interpolate.rb
facets-2.7.0 test/core/string/test_interpolate.rb
facets-2.6.0 test/core/string/test_interpolate.rb
facets-2.2.0 test/unit/string/test_interpolate.rb
facets-2.2.1 test/unit/string/test_interpolate.rb
facets-2.3.0 test/core/string/test_interpolate.rb
facets-2.4.0 test/string/test_interpolate.rb
facets-2.4.1 test/string/test_interpolate.rb
facets-2.4.4 test/core/string/test_interpolate.rb
facets-2.4.3 test/core/string/test_interpolate.rb
facets-2.4.2 test/core/string/test_interpolate.rb
facets-2.4.5 test/core/string/test_interpolate.rb
facets-2.5.0 test/core/string/test_interpolate.rb
facets-2.5.1 test/core/string/test_interpolate.rb
facets-2.5.2 test/core/string/test_interpolate.rb