Sha256: e943f2328c34bc13e11fee3eea5b8e58f2f6f7183ea8cb48b47efa8c29ac39b9
Contents?: true
Size: 355 Bytes
Versions: 6
Compression:
Stored size: 355 Bytes
Contents
# encoding: utf-8 RSpec.describe Strings, '#wrap' do it "wraps text" do text = 'ラドクリフ、マラソン五輪代表に1万m出場にも含み' expect(Strings.wrap(text, 8)).to eql([ "ラドクリ", "フ、マラ", "ソン五輪", "代表に1", "万m出場", "にも含み" ].join("\n")) end end
Version data entries
6 entries across 6 versions & 1 rubygems