mirror of https://github.com/licensee/licensee.git
output confidence
This commit is contained in:
parent
2805b6fef3
commit
8d41b71fd5
|
@ -37,7 +37,7 @@ def verify_license_file(license, chaos_monkey = false)
|
|||
|
||||
actual = license_file.matches.first
|
||||
assert actual, "No match for #{expected}."
|
||||
assert_equal expected, actual.name, "expeceted #{expected} but got #{actual.name} for .matches.first"
|
||||
assert_equal expected, actual.name, "expeceted #{expected} but got #{actual.name} for .matches.first. Confidence: #{actual.match}"
|
||||
|
||||
actual = license_file.match
|
||||
assert actual, "No match for #{expected}."
|
||||
|
|
Loading…
Reference in New Issue