Sha256: 6b5082c485334c1d525ce0b8349e185d2b65e746c3e74a4eba3129401f9e5b4b

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

covers 'facets/string/exclude'

tests String do

  unit :exclude? do
    "aaaa".assert.exclude?('bb')
    "aaab".assert.exclude?('bb')
    "aaba".assert.exclude?('bb')
    "baaa".assert.exclude?('bb')
  end

  unit :exclude? do
    "abba".refute.exclude?('bb')
    "aabb".refute.exclude?('bb')
    "bbaa".refute.exclude?('bb')
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/string/test_exclude.rb
facets-2.9.0 test/core/string/test_exclude.rb
facets-2.9.0.pre.2 test/core/string/test_exclude.rb
facets-2.9.0.pre.1 test/core/string/test_exclude.rb