mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
don't count newline
This commit is contained in:
parent
fc3370e024
commit
dc4c7215ca
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user