checkpoint

This commit is contained in:
2020-04-30 13:33:30 -04:00
parent 19a9fc06ba
commit 9bc522180d
21 changed files with 337 additions and 276 deletions

View File

@@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="coverlet.collector" Version="1.2.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Alpm\Alpm.csproj" />
</ItemGroup>
</Project>

View File

@@ -13,7 +13,7 @@ namespace Alpm.Tests
public void TestLocalDB()
{
using var localDB = _handle.LocalDB;
Assert.Equal(15, localDB.PackageCache.Count());
Assert.True(localDB.CachePackageCache.Count() > 15);
}
[Fact]