Skip to content

Commit 7cafc61

Browse files
committed
Debug for sporadical failures on RubyCI
1 parent 1e7ee6a commit 7cafc61

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/rubygems/test_gem_command_manager.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,13 @@ def test_find_command_unknown_suggestions
8989
actual_message = e.message
9090
end
9191

92-
assert_equal message, actual_message
92+
assert_equal message, actual_message, proc {|msg|
93+
msg + {
94+
unknown_command: e.unknown_command,
95+
spell_checker: e.spell_checker,
96+
corrections: e.corrections,
97+
}.pretty_inspect
98+
}
9399
end
94100

95101
def test_run_interrupt

0 commit comments

Comments
 (0)