Skip to content

Commit

Permalink
Update test/test_classifier.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Seymour <colin@github.com>
  • Loading branch information
smola and lildude committed Jun 18, 2021
1 parent ec2ca35 commit 9b6fa51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_classifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_classify_ambiguous_languages
results = Classifier.classify(Samples.cache, File.read(sample[:path]), languages)

if results.empty?
assert false,"no results for #{sample[:path]}"
assert false, "no results for #{sample[:path]}"
elsif allowed_failures.has_key? sample[:path]
assert allowed_failures[sample[:path]].include?(results.first[0]), "#{sample[:path]}\n#{results.inspect}"
else
Expand Down

0 comments on commit 9b6fa51

Please sign in to comment.