Adding support for lowercasing only the first character (#59) (#60)

Closes #59
This commit is contained in:
Fernando Contreras
2021-01-18 18:41:55 +01:00
committed by GitHub
parent 5b060fce6b
commit bc046ca656
7 changed files with 50 additions and 0 deletions

View File

@@ -21,6 +21,11 @@ namespace EFCore.NamingConventions.Test
=> Assert.Equal("fullname",
new LowerCaseNameRewriter(CultureInfo.InvariantCulture).RewriteName("FullName"));
[Fact]
public void CamelCase()
=> Assert.Equal("fullName",
new CamelCaseNameRewriter(CultureInfo.InvariantCulture).RewriteName("FullName"));
[Fact]
public void UpperCase()
=> Assert.Equal("FULLNAME",