File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -681,17 +681,16 @@ def test_inclusion_of_listen_related_configuration_by_default
681
681
def test_inclusion_of_listen_related_configuration_on_other_rubies
682
682
ruby_engine = Object . send ( :remove_const , :RUBY_ENGINE )
683
683
Object . const_set ( :RUBY_ENGINE , "MyRuby" )
684
- begin
685
- run_generator
686
- if RbConfig ::CONFIG [ "host_os" ] =~ /darwin|linux/
687
- assert_listen_related_configuration
688
- else
689
- assert_no_listen_related_configuration
690
- end
691
- ensure
692
- Object . send ( :remove_const , :RUBY_ENGINE )
693
- Object . const_set ( :RUBY_ENGINE , ruby_engine )
684
+
685
+ run_generator
686
+ if RbConfig ::CONFIG [ "host_os" ] =~ /darwin|linux/
687
+ assert_listen_related_configuration
688
+ else
689
+ assert_no_listen_related_configuration
694
690
end
691
+ ensure
692
+ Object . send ( :remove_const , :RUBY_ENGINE )
693
+ Object . const_set ( :RUBY_ENGINE , ruby_engine )
695
694
end
696
695
697
696
def test_non_inclusion_of_listen_related_configuration_if_skip_listen
You can’t perform that action at this time.
0 commit comments