diff options
author | crupest <crupest@outlook.com> | 2022-03-09 19:23:01 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-03-09 19:23:01 +0800 |
commit | 3cd0140ff4425b37b6e8dd8e8f16a54b1338c352 (patch) | |
tree | 1bdcc969976687930aab44356639702ebdafea0e /BackEnd/Timeline.Tests/Helpers | |
parent | b89ea2e72451133ca8be185de882aa848c277638 (diff) | |
download | timeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.tar.gz timeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.tar.bz2 timeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.zip |
...
Diffstat (limited to 'BackEnd/Timeline.Tests/Helpers')
-rw-r--r-- | BackEnd/Timeline.Tests/Helpers/AsyncFunctionAssertionsExtensions.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/BackEnd/Timeline.Tests/Helpers/AsyncFunctionAssertionsExtensions.cs b/BackEnd/Timeline.Tests/Helpers/AsyncFunctionAssertionsExtensions.cs deleted file mode 100644 index b78309c0..00000000 --- a/BackEnd/Timeline.Tests/Helpers/AsyncFunctionAssertionsExtensions.cs +++ /dev/null @@ -1,16 +0,0 @@ -using FluentAssertions;
-using FluentAssertions.Primitives;
-using FluentAssertions.Specialized;
-using System;
-using System.Threading.Tasks;
-
-namespace Timeline.Tests.Helpers
-{
- public static class AsyncFunctionAssertionsExtensions
- {
- public static async Task<AndConstraint<ObjectAssertions>> ThrowAsync(this AsyncFunctionAssertions assertions, Type exceptionType, string because = "", params object[] becauseArgs)
- {
- return (await assertions.ThrowAsync<Exception>(because, becauseArgs)).Which.Should().BeAssignableTo(exceptionType);
- }
- }
-}
|