Sha256: 96984f3e66f207b6ee1484244de8d04cc89f5473c0ee731e14f6223113722570
Contents?: true
Size: 788 Bytes
Versions: 3
Compression:
Stored size: 788 Bytes
Contents
require_relative '../test-util' TEXT = [] EXPECT = [] # case 0 TEXT.push <<S 1st line 2nd line 3rd line S EXPECT.push <<S 1st line 2nd line 3rd line S # case 1 TEXT.push <<S 1st line 2nd line 3rd line S EXPECT.push <<S 1st line 2nd line 3rd line S # case 2 TEXT.push <<S 1st line 2nd line 3rd line S EXPECT.push <<S 1st line 2nd line 3rd line S # case 3 TEXT.push <<S 1st line 2nd line 3rd line S EXPECT.push <<S 1st line 2nd line 3rd line S # case 4 TEXT.push <<S 1st line 2nd line 3rd line S EXPECT.push <<S 1st line 2nd line 3rd line S describe "Pione::Util::Indentaion" do TEXT.size.times do |i| it 'should cut indendations: case %s' % i do Util::Indentation.cut(TEXT[i]).should == EXPECT[i] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pione-0.2.2 | test/util/spec_indentation.rb |
pione-0.2.1 | test/util/spec_indentation.rb |
pione-0.2.0 | test/util/spec_indentation.rb |