1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

don't count newline

This commit is contained in:
Mike Linksvayer 2017-11-19 12:23:28 -08:00
parent fc3370e024
commit dc4c7215ca

View File

@ -11,6 +11,7 @@ describe 'word wrapping' do
max_line_length = 0
max_line = ""
license_text.lines.each do |line|
line.chomp!
if line.length > max_line_length
max_line_length = line.length
max_line = line