mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14: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
+3
-3
@@ -255,9 +255,9 @@ public class Id3TagReaderTests : IDisposable
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("2011-03-14", 2011)] // a full date yields its year
|
||||
[InlineData("2011", 2011)] // a bare year is matched by the year pattern
|
||||
[InlineData("released in 1999 remastered", 1999)] // a year embedded in free form text is still matched
|
||||
[InlineData("2011-03-14", 2011)] // A full date yields its year.
|
||||
[InlineData("2011", 2011)] // A bare year is matched by the year pattern.
|
||||
[InlineData("released in 1999 remastered", 1999)] // A year embedded in free form text is still matched.
|
||||
public void Read_WhenTheReleaseDateIsPresent_ShouldParseTheYear(string releaseDate, int expectedYear)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
Reference in new issue
Block a user