Skip to content

Commit

Permalink
⬆️ upgrade all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffynuts committed Dec 13, 2023
1 parent d9d36f1 commit d3322b8
Show file tree
Hide file tree
Showing 17 changed files with 456 additions and 66 deletions.
420 changes: 405 additions & 15 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"yafs": "^1.23.0",
"zarro": "^1.144.285"
"zarro": "^1.166.0"
}
}
8 changes: 4 additions & 4 deletions src/CoreConsumer/CoreConsumer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="microsoft.net.test.sdk" Version="17.7.2" />
<PackageReference Include="NExpect" Version="2.0.49" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="microsoft.net.test.sdk" Version="17.8.0" />
<PackageReference Include="NExpect" Version="2.0.57" />
<PackageReference Include="nunit" Version="4.0.1" />
<PackageReference Include="nunit3testadapter" Version="4.5.0" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions src/CoreTests/CoreTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="microsoft.net.test.sdk" Version="17.7.2" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="microsoft.net.test.sdk" Version="17.8.0" />
<PackageReference Include="nunit" Version="4.0.1" />
<PackageReference Include="nunit3testadapter" Version="4.5.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

<ItemGroup>
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="nunit" Version="4.0.1" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.180" />
<PackageReference Include="PeanutButter.TestUtils.AspNetCore" Version="3.0.180" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.19" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.244" />
<PackageReference Include="PeanutButter.TestUtils.AspNetCore" Version="3.0.244" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.24" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/NExpect.Matchers.AspNetCore/ControllerMatchers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ Func<TAttribute, bool> matcher
.Where(o => o.Name == Member)
.ToArray();

return method.Length switch
return method switch
{
0 => CreateMissingMethodResult(controllerType),
1 => VerifyAttribute<TAttribute>(controllerType, method[0], matcher),
[] => CreateMissingMethodResult(controllerType),
[var m] => VerifyAttribute<TAttribute>(controllerType, m, matcher),
_ => CreateAmbiguousMethodResult(controllerType, method.Length)
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
<Compile Include="..\PeanutButter\source\Utils\PeanutButter.Utils\UnevenZipException.cs" Link="Imported\UnevenZipException.cs"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="PeanutButter.TestUtils.AspNetCore" Version="3.0.180"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="PeanutButter.TestUtils.AspNetCore" Version="3.0.244"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NExpect\NExpect.csproj"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="NUnit" Version="4.0.1" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.9" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.180" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.19" />
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.3.0" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.244" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.24" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
<Compile Include="..\PeanutButter\source\Utils\PeanutButter.Utils\UnevenZipException.cs" Link="Imported\UnevenZipException.cs"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.9"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.3.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NExpect\NExpect.csproj"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

<ItemGroup>
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="nunit" Version="4.0.1" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.180" />
<PackageReference Include="PeanutButter.Utils" Version="3.0.180" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.19" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.244" />
<PackageReference Include="PeanutButter.Utils" Version="3.0.244" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.24" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<None Include="README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NExpect\NExpect.csproj"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="nunit" Version="4.0.1" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.180" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.19" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.244" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.24" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/NExpect.Matchers.Xml/NExpect.Matchers.Xml.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<DefineConstants>BUILD_PEANUTBUTTER_INTERNAL</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NExpect\NExpect.csproj"/>
Expand Down
18 changes: 9 additions & 9 deletions src/NExpect.Tests/ArbitraryBehaviorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -867,26 +867,26 @@ public void ExceptionCollectionPropertyMatchingLikeOtherCollections()
Expect(() => throw ex)
.To.Throw<AggregateException>()
.With.CollectionProperty(e => e.InnerExceptions)
.Containing.Exactly(1)
.Not.Containing.Exactly(1)
.Matched.By(e => e.Message == "1");
Expect(() => throw ex)
.To.Throw<AggregateException>()
.With.CollectionProperty(e => e.InnerExceptions)
.Not.Containing.Any
.Matched.By(e => e.Message == "3");
},
Throws.Nothing
Throws.Exception.InstanceOf<UnmetExpectationException>()
);
Assert.That(
() =>
{
Expect(() => throw ex)
.To.Throw<AggregateException>()
.With.CollectionProperty(e => e.InnerExceptions)
.Not.Containing.Exactly(1)
.Containing.Exactly(1)
.Matched.By(e => e.Message == "1");
Expect(() => throw ex)
.To.Throw<AggregateException>()
.With.CollectionProperty(e => e.InnerExceptions)
.Not.Containing.Any
.Matched.By(e => e.Message == "3");
},
Throws.Exception.InstanceOf<UnmetExpectationException>()
Throws.Nothing
);
Assert.That(
() =>
Expand Down
10 changes: 5 additions & 5 deletions src/NExpect.Tests/NExpect.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="microsoft.net.test.sdk" Version="17.7.2" />
<PackageReference Include="microsoft.net.test.sdk" Version="17.8.0" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="nunit" Version="4.0.1" />
<PackageReference Include="nunit3testadapter" Version="4.5.0" />
<PackageReference Include="PeanutButter.DuckTyping" Version="3.0.180" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.180" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.19" />
<PackageReference Include="PeanutButter.DuckTyping" Version="3.0.244" />
<PackageReference Include="PeanutButter.RandomGenerators" Version="3.0.244" />
<PackageReference Include="Quackers.TestLogger" Version="1.0.24" />
<PackageReference Include="system.valuetuple" Version="4.5.0" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/NExpect/NExpect.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<DefineConstants>BUILD_PEANUTBUTTER_INTERNAL</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
Expand Down
2 changes: 1 addition & 1 deletion src/PeanutButter
Submodule PeanutButter updated 112 files

0 comments on commit d3322b8

Please sign in to comment.