Sha256: e5c5447e98cc6f681b32306a32fcec37787b11ce798d959299a1f8ea5cf4fc3e

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'ruby-boost-regex'
require 'ruby-boost-regex/BoostRegexHook'
require 'spec'
require 'spec/autorun'

Spec::Matchers.define :have_flag do |flag|
  match do |bitmask|
    bitmask & flag > 0
  end
end

Spec::Matchers.define :match do |string|
  match do |regexp|
    regexp.match(string) != nil
  end
end

Spec::Runner.configure do |config|
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-boost-regex-1.1.0 spec/spec_helper.rb
ruby-boost-regex-1.0.1 spec/spec_helper.rb
ruby-boost-regex-1.0.0 spec/spec_helper.rb