diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb index eac6a3267520..3c4f09a37ff7 100644 --- a/test/rubygems/helper.rb +++ b/test/rubygems/helper.rb @@ -279,7 +279,7 @@ def assert_contains_make_command(target, output, msg = nil) ) else msg = build_message(msg, - 'Expected make command "%s": %s' % [ + 'Expected make command "%s", but was "%s"' % [ ('%s %s' % [make_command, target]).rstrip, output, ]