Sha256: 2f697bd161017c600929104aedceb6e348938a8f231fd1d97f9aecfeb3e29b5f

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

# Test facets/pp_s.rb

require 'facets/pp_s.rb'
require 'test/unit'

class TestPP_S < Test::Unit::TestCase

  def test_pp_s
    # Can't so much, as the code is so simple; all the work is done by PP.
    # Any testing of its output would be rendered incorrect by changes to
    # that library.  Just do a sanity check with a simple value.
    assert_equal(%{"one"\n}, "one".pp_s)
  end

end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-2.1.3 test/unit/test_pp_s.rb