Skip to content

Commit 67acb38

Browse files
committed
rescue explicitly
1 parent 0c6ed32 commit 67acb38

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/test_rbs_types.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
require 'test/unit'
22
require 'mutex_m'
3-
require 'rbs/unit_test' rescue return
3+
begin
4+
require 'rbs/unit_test'
5+
rescue LoadError
6+
return
7+
end
48

59
module RBSTypeTest
610
class Mutex_mInstanceTest < Test::Unit::TestCase

0 commit comments

Comments
 (0)