1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Improve rake package test error message

https://github.com/rubygems/rubygems/commit/be962ca0c4
This commit is contained in:
David Rodríguez 2019-06-27 15:32:21 +02:00 committed by Hiroshi SHIBATA
parent 61893ddf75
commit 62e2b2e66f
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -8,7 +8,15 @@ class TestRakePackage < Minitest::Test
def test_builds_ok
output, status = Open3.capture2e("rake package")
assert_equal true, status.success?, "Expected `rake package` to work, but got errors: #{output}"
assert_equal true, status.success?, <<~MSG.chomp
Expected `rake package` to work, but got errors:
```
#{output}
```
If you have added or removed files, make sure you run `rake update_manifest` to update the `Manifest.txt` accordingly
MSG
end
end