spec/licensee/matchers/dice_matcher_spec.rb in licensee-9.14.0 vs spec/licensee/matchers/dice_matcher_spec.rb in licensee-9.14.1
- old
+ new
@@ -40,10 +40,10 @@
end
end
context 'stacked licenses' do
let(:content) do
- sub_copyright_info(mit) + "\n\n" + sub_copyright_info(gpl)
+ "#{sub_copyright_info(mit)}\n\n#{sub_copyright_info(gpl)}"
end
it "doesn't match" do
expect(content).not_to be_detected_as(gpl)
expect(subject.match).to be(nil)