Find package versions ignoring character case
This commit is contained in:
BIN
test/data/packages/Yavsc.Abstract.1.0.8.nupkg
Normal file
BIN
test/data/packages/Yavsc.Abstract.1.0.8.nupkg
Normal file
Binary file not shown.
6
test/data/test-isn/NuGet.Config
Normal file
6
test/data/test-isn/NuGet.Config
Normal 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>
|
@ -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]
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user