File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,6 @@ def test_find_command_unknown_suggestions
8080 message = "Unknown command pish" . dup
8181
8282 if defined? ( DidYouMean )
83- assert_operator Gem ::UnknownCommandError , :< , DidYouMean ::Correctable
84- assert_operator Gem ::UnknownCommandError , :instance_variable_defined? , :@attached
85- assert_send [ Gem ::UnknownCommandError , :instance_variable_get , :@attached ]
8683 message << "\n Did you mean? \" push\" "
8784 end
8885
@@ -92,13 +89,7 @@ def test_find_command_unknown_suggestions
9289 actual_message = e . message
9390 end
9491
95- assert_equal message , actual_message , proc { |msg |
96- ( msg || "" ) + {
97- unknown_command : e . unknown_command ,
98- spell_checker : ( e . spell_checker rescue nil ) ,
99- corrections : ( e . corrections rescue nil ) ,
100- } . pretty_inspect
101- }
92+ assert_equal message , actual_message
10293 end
10394
10495 def test_run_interrupt
You can’t perform that action at this time.
0 commit comments