Skip to content

Commit 01b9c7f

Browse files
committed
Change: Package Updates
1 parent f52c29d commit 01b9c7f

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/CodeOfChaos.Testing.TUnit/CodeOfChaos.Testing.TUnit.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
<ItemGroup>
3232
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0"/>
33-
<PackageReference Include="TUnit.Assertions" Version="0.12.14"/>
34-
<PackageReference Include="TUnit.Core" Version="0.12.14"/>
33+
<PackageReference Include="TUnit.Assertions" Version="0.13.3" />
34+
<PackageReference Include="TUnit.Core" Version="0.13.3" />
3535
</ItemGroup>
3636

3737
<ItemGroup>

src/CodeOfChaos.Testing.TUnit/Conditions/GeneratorDriverRunResultHasSourceTextEqualToCondition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class GeneratorDriverRunResultHasSourceTextEqualToCondition(string filena
1616
// Methods
1717
// -----------------------------------------------------------------------------------------------------------------
1818
protected override string GetExpectation() => "to have a source with the the expected text";
19-
protected override async Task<AssertionResult> GetResult(GeneratorDriverRunResult? actualValue, Exception? exception, AssertionMetadata assertionMetadata) {
19+
protected override async ValueTask<AssertionResult> GetResult(GeneratorDriverRunResult? actualValue, Exception? exception, AssertionMetadata assertionMetadata) {
2020
if (actualValue is null) return AssertionResult.Fail("Compilation is null");
2121

2222
GeneratedSourceResult? generatedSource = actualValue.Results

src/CodeOfChaos.Testing.TUnit/Conditions/Library/ContainsDiagnosticAssertCondition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ContainsDiagnosticAssertCondition<T>(Func<T, ValueTask<ImmutableArr
1515
// -----------------------------------------------------------------------------------------------------------------
1616
protected override string GetExpectation() => $"to have a diagnostic with Id \"{expectedId}\"";
1717

18-
protected override async Task<AssertionResult> GetResult(T? actualValue, Exception? exception, AssertionMetadata assertionMetadata) {
18+
protected override async ValueTask<AssertionResult> GetResult(T? actualValue, Exception? exception, AssertionMetadata assertionMetadata) {
1919
if (actualValue is null) return AssertionResult.Fail($"{nameof(T)} is null");
2020

2121
ImmutableArray<Diagnostic> diagnostics = await getDiagnosticsAction(actualValue);

src/CodeOfChaos.Testing.TUnit/Conditions/Library/ContainsDiagnosticsExclusivelyAssertCondition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class ContainsDiagnosticsExclusivelyAssertCondition<T>(Func<T, ValueTask<
1616
// Methods
1717
// -----------------------------------------------------------------------------------------------------------------
1818
protected override string GetExpectation() => $"to have a compilation output with the following Ids \"{expectedIds}\"";
19-
protected override async Task<AssertionResult> GetResult(T? actualValue, Exception? exception, AssertionMetadata assertionMetadata) {
19+
protected override async ValueTask<AssertionResult> GetResult(T? actualValue, Exception? exception, AssertionMetadata assertionMetadata) {
2020
if (actualValue is null) return AssertionResult.Fail($"{nameof(T)} is null");
2121

2222
ImmutableArray<Diagnostic> diagnostics = await getDiagnosticsAction(actualValue);

src/CodeOfChaos.Testing.TUnit/Conditions/Library/DoesNotContainDiagnosticAssertCondition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class DoesNotContainDiagnosticAssertCondition<T>(Func<T, ValueTask<Immuta
1616
// -----------------------------------------------------------------------------------------------------------------
1717

1818
protected override string GetExpectation() => $"to not have a diagnostic with Id \"{expectedId}\"";
19-
protected override async Task<AssertionResult> GetResult(T? actualValue, Exception? exception, AssertionMetadata assertionMetadata) {
19+
protected override async ValueTask<AssertionResult> GetResult(T? actualValue, Exception? exception, AssertionMetadata assertionMetadata) {
2020
if (actualValue is null) return AssertionResult.Fail($"{nameof(T)} is null");
2121

2222
ImmutableArray<Diagnostic> diagnostics = await getDiagnosticsAction(actualValue);

src/Tools.CodeOfChaos.Testing.TUnit/Tools.CodeOfChaos.Testing.TUnit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="CodeOfChaos.CliArgsParser.Library" Version="4.5.0"/>
12+
<PackageReference Include="CodeOfChaos.CliArgsParser.Library" Version="4.6.0" />
1313
</ItemGroup>
1414

1515
</Project>

tests/Tests.CodeOfChaos.Testing.TUnit/Tests.CodeOfChaos.Testing.TUnit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<ItemGroup>
1414
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0"/>
1515
<PackageReference Include="Moq" Version="4.20.72"/>
16-
<PackageReference Include="TUnit" Version="0.12.14"/>
16+
<PackageReference Include="TUnit" Version="0.13.3" />
1717
<PackageReference Include="Bogus" Version="35.6.1"/>
1818
</ItemGroup>
1919

0 commit comments

Comments
 (0)