output confidence

This commit is contained in:
Ben Balter 2014-09-29 13:10:33 -04:00
parent 2805b6fef3
commit 8d41b71fd5
1 changed files with 1 additions and 1 deletions

View File

@ -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}."