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

@@ -209,9 +209,9 @@ public class ThemeTemplateEngineTests
}
[Theory]
[InlineData(null)] // unresolved section
[InlineData(false)] // boolean false
[InlineData("")] // empty string
[InlineData(null)] // Unresolved section.
[InlineData(false)] // Boolean false.
[InlineData("")] // Empty string.
public void RenderPage_WhenSectionIsFalsy_ShouldSkipChildren(object? sectionValue)
{
// Arrange
@@ -487,9 +487,9 @@ public class ThemeTemplateEngineTests
}
[Theory]
[InlineData("{{bad-name}}")] // hyphen is not a valid name part character
[InlineData("{{two words}}")] // whitespace inside the expression
[InlineData("{{a..b}}")] // empty name part
[InlineData("{{bad-name}}")] // Hyphen is not a valid name part character.
[InlineData("{{two words}}")] // Whitespace inside the expression.
[InlineData("{{a..b}}")] // Empty name part.
public void RenderPage_WhenExpressionIsInvalid_ShouldReturnTemplateError(string template)
{
// Act