Sha256: d507b52cc4cc3f7091d1fe5024521e42ec29ef531b47912ef7d84c37edaa1cc7

Contents?: true

Size: 237 Bytes

Versions: 5

Compression:

Stored size: 237 Bytes

Contents

covers 'facets/string/subtract'

test_case String do

  method :- do

    test do
      ("foobar" - "oo").assert == "fbar"
      ("pizza pizza!" - "zz").assert == "pia pia!"
      ("letters" - /[a-z]+/).assert == ""
    end

  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 test/core/string/test_subtract.rb
facets-3.1.0 test/core/string/test_subtract.rb
facets-3.0.0 test/core/string/test_subtract.rb
facets-2.9.3 test/core/string/test_subtract.rb
facets-2.9.2 test/core/string/test_subtract.rb