From d11b2f05bb1bc106d5617f6d3fbd2b391a95c005 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Mon, 9 Feb 2015 22:57:19 +0100 Subject: [PATCH] Detection of zlib license --- test/test_grammars.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_grammars.rb b/test/test_grammars.rb index f30289a6..f71446d8 100644 --- a/test/test_grammars.rb +++ b/test/test_grammars.rb @@ -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