Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Meziantou.Analyzer from 2.0.127 to 2.0.132 #2534

Merged
merged 2 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.127">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.132">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,7 @@ public async Task When_async_method_does_not_throw_the_expected_exception_it_sho
await action.Should().ThrowAsync<XunitException>().WithMessage("*InvalidOperation*Argument*");
}

#pragma warning disable MA0147
[Fact]
public void When_asserting_async_void_method_should_throw_it_should_fail()
{
Expand Down Expand Up @@ -1077,6 +1078,7 @@ public void When_asserting_async_void_method_should_not_throw_specific_exception
// Assert
action.Should().Throw<InvalidOperationException>("*async*void*");
}
#pragma warning restore MA0147

[Fact]
public async Task When_a_method_throws_with_a_matching_parameter_name_it_should_succeed()
Expand Down
4 changes: 2 additions & 2 deletions Tests/FluentAssertions.Specs/Exceptions/NotThrowSpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void When_subject_is_null_when_it_should_not_throw_it_should_throw()
.Where(e => !e.Message.Contains("NullReferenceException"));
}

#pragma warning disable CS1998
#pragma warning disable CS1998, MA0147
[Fact]
public void When_subject_is_async_it_should_throw()
{
Expand All @@ -119,7 +119,7 @@ public void When_subject_is_async_it_should_throw()
action.Should().Throw<InvalidOperationException>()
.WithMessage("Cannot use action assertions on an async void method.*");
}
#pragma warning restore CS1998
#pragma warning restore CS1998, MA0147

[Fact]
public void When_wait_time_is_negative_it_should_throw()
Expand Down