From 3f6c983dfb9e0acb8d581b5f9a8dd5fd927bf114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Gr=C3=BCtzmacher?= Date: Thu, 17 Nov 2022 18:37:17 +0100 Subject: [PATCH] Consolidate documentation of exception typeparam --- .../Specialized/AsyncFunctionAssertions.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Src/FluentAssertions/Specialized/AsyncFunctionAssertions.cs b/Src/FluentAssertions/Specialized/AsyncFunctionAssertions.cs index 529fe59bf1..7514598a72 100644 --- a/Src/FluentAssertions/Specialized/AsyncFunctionAssertions.cs +++ b/Src/FluentAssertions/Specialized/AsyncFunctionAssertions.cs @@ -108,9 +108,7 @@ public AsyncFunctionAssertions(Func subject, IExtractExceptions extractor /// /// Asserts that the current throws an exception of the exact type (and not a derived exception type). /// - /// - /// The type of the exception it should throw. - /// + /// The type of exception expected to be thrown. /// /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically. @@ -147,6 +145,7 @@ public AsyncFunctionAssertions(Func subject, IExtractExceptions extractor /// /// Asserts that the current throws an exception of type . /// + /// The type of exception expected to be thrown. /// /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically. @@ -170,6 +169,7 @@ public AsyncFunctionAssertions(Func subject, IExtractExceptions extractor /// /// Asserts that the current throws an exception of type . /// + /// The type of exception expected to be thrown. /// The allowed time span for the operation. /// /// A formatted phrase as is supported by explaining why the assertion @@ -224,6 +224,7 @@ public async Task> NotThrowAsync(string because = "", /// /// Asserts that the current does not throw an exception of type . /// + /// The type of exception expected to not be thrown. /// /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically.