Sha256: 8178d725d4b835b2988accd5786876f408585ebae591757a928ffe0f01c18cbb

Contents?: true

Size: 284 Bytes

Versions: 22

Compression:

Stored size: 284 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), "..", "lib")

require "test/unit"
require "string_extensions"

class TestStringExtensions < Test::Unit::TestCase

  def test_remove_internal_spaces
    assert_equal("hellosemin", "he ll o\r\n sem in\r \n".remove_internal_spaces)
  end
end

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
ulla-0.9.9.2 test/test_string_extensions.rb
semin-egor-0.9.0 test/test_string_extensions.rb
semin-egor-0.9.1 test/test_string_extensions.rb
semin-egor-0.9.2 test/test_string_extensions.rb
semin-egor-0.9.3 test/test_string_extensions.rb
semin-ulla-0.9.3 test/test_string_extensions.rb
semin-ulla-0.9.4 test/test_string_extensions.rb
semin-ulla-0.9.5 test/test_string_extensions.rb
semin-ulla-0.9.6 test/test_string_extensions.rb
semin-ulla-0.9.7 test/test_string_extensions.rb
semin-ulla-0.9.8 test/test_string_extensions.rb
semin-ulla-0.9.9.1 test/test_string_extensions.rb
semin-ulla-0.9.9 test/test_string_extensions.rb
ulla-0.9.9.1 test/test_string_extensions.rb
ulla-0.9.9 test/test_string_extensions.rb
ulla-0.9.8 test/test_string_extensions.rb
egor-0.9.0 test/test_string_extensions.rb
ulla-0.9.3 test/test_string_extensions.rb
ulla-0.9.4 test/test_string_extensions.rb
ulla-0.9.5 test/test_string_extensions.rb