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:
BinaryAlley committed 2026-11-16 18:17:29 +02:00
1 parent 727aa33318
commit 057f557791
540 files changed
+3888 -3888

No files matched your search

@@ -85,9 +85,9 @@ public class ApiStreamProxyTests
}
[Theory]
[InlineData("public, max-age=60", new[] { "private", "max-age=60" })] // the public instruction is dropped and the max age is preserved
[InlineData("no-store", new[] { "private", "no-store" })] // the no store instruction is preserved and privacy is added
[InlineData(null, new[] { "private" })] // an absent API instruction becomes a private instruction
[InlineData("public, max-age=60", new[] { "private", "max-age=60" })] // The public instruction is dropped and the max age is preserved.
[InlineData("no-store", new[] { "private", "no-store" })] // The no store instruction is preserved and privacy is added.
[InlineData(null, new[] { "private" })] // An absent API instruction becomes a private instruction.
public async Task WriteAsync_WhenApiDeclaresCaching_ShouldAlwaysProduceAPrivateInstruction(string? apiCacheControl, string[] expectedFragments)
{
// Arrange