Sha256: a5561fca24885c85023a3273bd32abd2a751262cd89958bd6718b88ccddeff76

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

require_relative File.join 'support', 'coverage'
require_relative File.join '..', 'lib', 'matchi'

# It is expected to be true
fail unless Matchi.fetch(:Match, /^foo/).matches? { 'foobar' }

# It is expected to be false
fail if Matchi.fetch(:Match, /^foo/).matches? { 'bar' }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
matchi-0.0.6 test/test_match.rb