Sha256: f7fcbc4404f8ab463486f5d3f7c86d6f8daf782e763a496ad4695fb32a862141
Contents?: true
Size: 375 Bytes
Versions: 4
Compression:
Stored size: 375 Bytes
Contents
covers 'facets/string/squish' testcase String do unit :squish do r = %{ Multi-line string }.squish r.assert == "Multi-line string" end unit :squish do r = " foo bar \n \t boo".squish r.assert == "foo bar boo" end unit :squish! do s = " foo bar \n \t boo" s.squish! s.assert == "foo bar boo" end end
Version data entries
4 entries across 4 versions & 1 rubygems