@@ -1484,7 +1484,7 @@ def test_collection_install__pathname_set
14841484 )
14851485
14861486 assert_nil lockfile . gems [ "set" ]
1487- assert_nil lockfile . gems [ "pathname" ]
1487+ assert_instance_of RBS :: Collection :: Sources :: Stdlib , lockfile . gems [ "pathname" ] [ :source ]
14881488 assert_instance_of RBS ::Collection ::Sources ::Stdlib , lockfile . gems [ "cgi-escape" ] [ :source ]
14891489 assert_instance_of RBS ::Collection ::Sources ::Git , lockfile . gems [ "ast" ] [ :source ]
14901490 end
@@ -1517,15 +1517,14 @@ def test_collection_install__set_pathname__manifest
15171517 _stdout , stderr = run_rbs_collection ( "install" , bundler : true )
15181518
15191519 assert_include stderr , '`set` is a part of the Ruby core library.'
1520- assert_include stderr , '`pathname` is a part of the Ruby core library.'
15211520
15221521 lockfile = RBS ::Collection ::Config ::Lockfile . from_lockfile (
15231522 lockfile_path : dir + "rbs_collection.lock.yaml" ,
15241523 data : YAML . safe_load ( ( dir + "rbs_collection.lock.yaml" ) . read )
15251524 )
15261525
15271526 assert_nil lockfile . gems [ "set" ]
1528- assert_nil lockfile . gems [ "pathname" ]
1527+ assert_instance_of RBS :: Collection :: Sources :: Stdlib , lockfile . gems [ "pathname" ] [ :source ]
15291528 assert_instance_of RBS ::Collection ::Sources ::Stdlib , lockfile . gems [ "cgi-escape" ] [ :source ]
15301529 assert_instance_of RBS ::Collection ::Sources ::Local , lockfile . gems [ "true_string" ] [ :source ]
15311530 end
0 commit comments