Skip to content

Commit

Permalink
Print out unexpected warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
presidentbeef committed Mar 23, 2018
1 parent 45ca92c commit 72421a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_number_of_warnings
warnings = report[(type.to_s << "_warnings").to_sym]
end

assert_equal number, warnings.length, "Expected #{number} #{type} warnings, but found #{warnings.length}"
assert_equal number, warnings.length, "Expected #{number} #{type} warnings, but found #{warnings.length}: #{warnings}"
end
end

Expand Down

0 comments on commit 72421a0

Please sign in to comment.