Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmada committed Apr 16, 2021
1 parent 7b62dc7 commit 7a94a4e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<PropertyGroup>
<Authors>Antao Almada</Authors>
<Copyright>Copyright 2019-2020 Antao Almada</Copyright>
<Copyright>Copyright 2019-2021 Antao Almada</Copyright>
<LangVersion>9.0</LangVersion>
<Features>strict</Features>
<Nullable>enable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2020 Antao Almada
Copyright (c) 2019-2021 Antao Almada

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Include="System.Reactive" Version="5.0.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.assert" Version="2.4.1" />
Expand Down
4 changes: 2 additions & 2 deletions NetFabric.Assertive/Assertions/AssertionsBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public abstract class AssertionsBase<TAssertions>
}
else
{
if (errors.HasFlag(Errors.MissingGetEnumerable))
if (errors.HasFlag(Errors.MissingGetEnumerator))
throw new ActualAssertionException<TActual>(actual, $"Expected to be an enumerable but it's missing a valid 'GetEnumerator' method.");
if (errors.HasFlag(Errors.MissingCurrent))
throw new ActualAssertionException<TActual>(actual, $"Expected to be an enumerator but it's missing a valid 'Current' property.");
Expand Down Expand Up @@ -68,7 +68,7 @@ public abstract class AssertionsBase<TAssertions>
}
else
{
if (errors.HasFlag(Errors.MissingGetEnumerable))
if (errors.HasFlag(Errors.MissingGetEnumerator))
throw new ActualAssertionException<TActual>(actual, $"Expected to be an async enumerable but it's missing a valid 'GetAsyncEnumerator' method.");
if (errors.HasFlag(Errors.MissingCurrent))
throw new ActualAssertionException<TActual>(actual, $"Expected to be an async enumerator but it's missing a valid 'Current' property.");
Expand Down
6 changes: 3 additions & 3 deletions NetFabric.Assertive/NetFabric.Assertive.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<PackageId>NetFabric.Assertive</PackageId>
<Title>NetFabric.Assertive</Title>
<Description>A fluent assertions library that performs full coverage on enumerable types.</Description>
<Version>3.0.0</Version>
<Version>3.0.1</Version>
<PackageIcon>Icon.png</PackageIcon>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageTags>netfabric, enumeration, test, testing, unittest, assertion, TDD, fluent, netcore, netstandard</PackageTags>
Expand All @@ -30,8 +30,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="5.0.4" />
<PackageReference Include="NetFabric.Reflection" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="5.0.5" />
<PackageReference Include="NetFabric.Reflection" Version="4.0.1" />
<PackageReference Include="Nullable" Version="1.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down

0 comments on commit 7a94a4e

Please sign in to comment.