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