Sha256: a5bb2a2d82a4188056b2ebf1f3f400f4d54b729d1501cbf7e36244dbdb8fcb51

Contents?: true

Size: 265 Bytes

Versions: 8

Compression:

Stored size: 265 Bytes

Contents

describe 'Regexp Mixins' do
  it 'should strip special char for beginning of string' do
    expr = /^match/
    expr.strip.should == 'match'
  end

  it 'should strip special char for end of string' do
    expr = /match$/
    expr.strip.should == 'match'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rindle-0.3.4 spec/rindle/mixins/regexp_spec.rb
rindle-0.3.3 spec/rindle/mixins/regexp_spec.rb
rindle-0.3.2 spec/rindle/mixins/regexp_spec.rb
rindle-0.3.1 spec/rindle/mixins/regexp_spec.rb
rindle-0.3.0 spec/rindle/mixins/regexp_spec.rb
rindle-0.2.0 spec/rindle/mixins/regexp_spec.rb
rindle-0.1.1 spec/rindle/mixins/regexp_spec.rb
rindle-0.1.0 spec/rindle/mixins/regexp_spec.rb