Sha256: 6fa011f146adcc638f1409690c966fc0c67ddd653ffe5cf365aee8f021555c73

Contents?: true

Size: 497 Bytes

Versions: 6

Compression:

Stored size: 497 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |
#   |_|\___||___/\__|
#
# for 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

6 entries across 6 versions & 1 rubygems

Version Path
facets-2.0.3 test/unit/test_pp_s.rb
facets-2.0.4 test/unit/test_pp_s.rb
facets-2.0.5 test/unit/test_pp_s.rb
facets-2.1.0 test/unit/test_pp_s.rb
facets-2.1.1 test/unit/test_pp_s.rb
facets-2.1.2 test/unit/test_pp_s.rb