Skip to content

Commit

Permalink
fix: tests are not generated/executed (#693)
Browse files Browse the repository at this point in the history
* Revert Microsoft.CodeAnalysis.CSharp to 4.11.0 as 4.12.0 does not generate tests correctly
* Fix failing tests
  • Loading branch information
vbreuss authored Dec 19, 2024
1 parent 9123628 commit bfb1b37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<PackageVersion Include="SharpCompress" Version="0.38.0"/>
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ void Act()
}

await That(Act).Should().Throw<ArgumentException>()
.WithMessage("The stream is unwritable").And
.WithMessage("The stream is unwritable*").AsWildcard().And
.WithParamName("destination").And
.WithHResult(-2147024809);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void Act()
}

await That(Act).Should().Throw<ArgumentException>()
.WithMessage("The stream is unreadable").And
.WithMessage("The stream is unreadable*").AsWildcard().And
.WithParamName("source").And
.WithHResult(-2147024809);
}
Expand Down

0 comments on commit bfb1b37

Please sign in to comment.