mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-05 17:05:34 +00:00
Better output for failing test
This commit is contained in:
@@ -124,7 +124,7 @@ class TestHeuristcs < Test::Unit::TestCase
|
|||||||
hash.each do |language, blobs|
|
hash.each do |language, blobs|
|
||||||
Array(blobs).each do |blob|
|
Array(blobs).each do |blob|
|
||||||
result = Heuristics.call(file_blob(blob), candidates)
|
result = Heuristics.call(file_blob(blob), candidates)
|
||||||
assert_equal [Language[language]], result
|
assert_equal [Language[language]], result, "Failed for #{blob}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user