diff --git a/test/test.rb b/test/test.rb index 0ac69b901a..00a77a2d35 100644 --- a/test/test.rb +++ b/test/test.rb @@ -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