Skip to content

Commit

Permalink
Fix camel case test (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
smithmx authored Nov 4, 2024
1 parent 2b5b98a commit 41d329e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Specifications/Applications/when_converting_to_camel_case.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,5 @@ public static void ToCamelCaseTest(string expectedResult, string name)
}

[Fact]
public static void CamelCaseNullNameReturnsNull()
{
string name = null;
Assert.Null(name.ToCamelCase());
}
public static void CamelCaseNullNameReturnsNull() => Assert.Null(((string)null).ToCamelCase());
}

0 comments on commit 41d329e

Please sign in to comment.