Detection of zlib license

This commit is contained in:
Paul Chaignon
2015-02-09 22:57:19 +01:00
parent 11f7e6e1b4
commit d11b2f05bb

View File

@@ -135,6 +135,8 @@ class TestGrammars < Minitest::Test
"unlicense"
elsif content.include?("http://www.wtfpl.net/txt/copying/")
"WTFPL"
elsif content.include?("zlib") && content.include?("license") && content.include?("2. Altered source versions must be plainly marked as such")
"zlib"
end
end
end