@@ -319,10 +319,14 @@ def test_ln_s
319319 FileUtils , :ln_s , "src" , "dest"
320320 assert_send_type "(ToStr, ToStr, noop: bool) -> void" ,
321321 FileUtils , :ln_s , ToStr . new ( "src" ) , ToStr . new ( "dest" ) , noop : true
322+ assert_send_type "(ToPath, ToPath, noop: bool) -> void" ,
323+ FileUtils , :ln_sr , ToPath . new ( "src" ) , ToPath . new ( "dest" ) , noop : true
322324 assert_send_type "(Array[String | ToStr | ToPath], String, noop: bool) -> void" ,
323325 FileUtils , :ln_s , [ "src" , ToStr . new ( "src" ) , ToPath . new ( "src" ) ] , "dest_dir" , noop : true
324326 assert_send_type "(ToPath, ToPath, force: nil, noop: bool, verbose: bool, target_directory: bool, relative: bool) -> void" ,
325327 FileUtils , :ln_s , ToPath . new ( "src" ) , ToPath . new ( "dest" ) , force : nil , noop : true , verbose : false , relative : false , target_directory : false
328+ assert_send_type "(ToPath, ToPath, force: nil, noop: bool, verbose: bool, target_directory: bool, relative: bool) -> void" ,
329+ FileUtils , :ln_s , ToPath . new ( "src" ) , ToPath . new ( "dest" ) , force : nil , noop : true , verbose : false , relative : true , target_directory : false
326330 end
327331 end
328332
@@ -360,8 +364,8 @@ def test_ln_sr
360364 FileUtils , :ln_sr , ToStr . new ( "src" ) , ToStr . new ( "dest" ) , noop : true
361365 assert_send_type "(ToPath, ToPath, noop: bool) -> void" ,
362366 FileUtils , :ln_sr , ToPath . new ( "src" ) , ToPath . new ( "dest" ) , noop : true
363- assert_send_type "(Array[String | ToStr | ToPath], String, noop: bool, verbose: bool, target_directory: false ) -> void" ,
364- FileUtils , :ln_sr , [ "src" , ToStr . new ( "src" ) , ToStr . new ( "src" ) ] , "dest_dir" , noop : true , verbose : false , target_directory : false
367+ assert_send_type "(Array[String | ToStr | ToPath], String, noop: bool, verbose: bool) -> void" ,
368+ FileUtils , :ln_sr , [ "src" , ToStr . new ( "src" ) , ToStr . new ( "src" ) ] , "dest_dir" , noop : true , verbose : false
365369 end
366370 end
367371
0 commit comments