@@ -1577,7 +1577,7 @@ def test_collection_install__pathname_set
15771577 )
15781578
15791579 assert_nil lockfile . gems [ "set" ]
1580- assert_nil lockfile . gems [ "pathname" ]
1580+ assert_instance_of RBS :: Collection :: Sources :: Stdlib , lockfile . gems [ "pathname" ] [ :source ]
15811581 assert_instance_of RBS ::Collection ::Sources ::Stdlib , lockfile . gems [ "cgi-escape" ] [ :source ]
15821582 assert_instance_of RBS ::Collection ::Sources ::Git , lockfile . gems [ "ast" ] [ :source ]
15831583 end
@@ -1610,15 +1610,14 @@ def test_collection_install__set_pathname__manifest
16101610 _stdout , stderr = run_rbs_collection ( "install" , bundler : true )
16111611
16121612 assert_include stderr , '`set` is a part of the Ruby core library.'
1613- assert_include stderr , '`pathname` is a part of the Ruby core library.'
16141613
16151614 lockfile = RBS ::Collection ::Config ::Lockfile . from_lockfile (
16161615 lockfile_path : dir + "rbs_collection.lock.yaml" ,
16171616 data : YAML . safe_load ( ( dir + "rbs_collection.lock.yaml" ) . read )
16181617 )
16191618
16201619 assert_nil lockfile . gems [ "set" ]
1621- assert_nil lockfile . gems [ "pathname" ]
1620+ assert_instance_of RBS :: Collection :: Sources :: Stdlib , lockfile . gems [ "pathname" ] [ :source ]
16221621 assert_instance_of RBS ::Collection ::Sources ::Stdlib , lockfile . gems [ "cgi-escape" ] [ :source ]
16231622 assert_instance_of RBS ::Collection ::Sources ::Local , lockfile . gems [ "true_string" ] [ :source ]
16241623 end
0 commit comments