test/licensee/test_project.rb in licensee-8.4.0 vs test/licensee/test_project.rb in licensee-8.5.0
- old
+ new
@@ -75,9 +75,14 @@
should 'detect an LGPL licensed project with LICENSE.lesser' do
project = make_project 'lgpl.git'
assert_equal 'lgpl-3.0', project.license.key
end
+
+ should 'detect the MPL even with HRs removed' do
+ project = make_project 'mpl-without-hrs.git'
+ assert_equal 'mpl-2.0', project.license.key
+ end
end
end
describe 'licenses with title removed or altered' do
should 'detect the MIT license without title' do