mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 10:11:10 +00:00
Formats code comments as sentences in the tests.
Capitalizes the first word and adds the terminal period in the unit, integration and security tests. The AAA markers stay bare, the TODO bodies stay lowercase, and no assertion, payload, expected status code or test signature changes.
This commit is contained in:
1 parent
727aa33318
commit
057f557791
540 files changed
+3888
-3888
No files matched your search
+2
-2
@@ -96,8 +96,8 @@ public class ExceptionUtilitiesTests
|
||||
List<Exception> result = [.. exception.GetInnerExceptions()];
|
||||
|
||||
// Assert
|
||||
// the aggregate exception itself, its inner exceptions and their inners are traversed, and the first inner exception
|
||||
// is also reachable through the regular InnerException chain, so it is yielded twice
|
||||
// The aggregate exception itself, its inner exceptions and their inners are traversed, and the first inner exception
|
||||
// is also reachable through the regular InnerException chain, so it is yielded twice.
|
||||
Assert.Equal(6, result.Count);
|
||||
Assert.Contains(result, inner => inner is AggregateException);
|
||||
Assert.Equal(2, result.Count(inner => inner.Message == "first-inner"));
|
||||
|
||||
Reference in new issue
Block a user