Find package versions ignoring character case

This commit is contained in:
2025-03-04 14:28:29 +00:00
parent bc1464db7f
commit 301a276a7b
7 changed files with 52 additions and 59 deletions

Binary file not shown.

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="localhost" value="https://localhost:5001/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>

View File

@ -30,7 +30,7 @@ namespace isn.tests
public void TestPush()
{
Program.LoadConfig();
var report = Program.PushPkg(new string[] { "./src/isn.abst/bin/Release/isn.abst.1.0.24.nupkg" });
var report = Program.PushPkg(new string[] { "test/data/packages/Yavsc.Abstract.1.0.8.nupkg" });
}
[Fact]

View File

@ -164,7 +164,7 @@ namespace isnd.host.tests
sourceCacheContext.RefreshMemoryCache = true;
CancellationTokenSource source = new CancellationTokenSource();
var meta = await metadataResource.GetMetadataAsync( "isn.abst", true, false, sourceCacheContext, logger, source.Token);
var meta = await metadataResource.GetMetadataAsync( "Yavsc.Abstract", true, false, sourceCacheContext, logger, source.Token);
foreach (IPackageSearchMetadata result in meta)
{