Skip to content

Commit 21db894

Browse files
committed
Fix typo in exception message assertion in test
Corrected "Invalis type mappings" to "Invalid type mappings" in the assertion for AddTypeMapping_ExpressionSourceNonExpressionDest_ThrowsArgumentExcep test to ensure accurate exception message validation.
1 parent bfa275f commit 21db894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/AutoMapper.Extensions.ExpressionMapping.UnitTests/TypeMappingsManagerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public void AddTypeMapping_ExpressionSourceNonExpressionDest_ThrowsArgumentExcep
227227
typeof(Expression<Func<SourceChild, bool>>),
228228
typeof(Func<DestChild, bool>)));
229229

230-
Assert.Contains("Invalis type mappings", exception.Message);
230+
Assert.Contains("Invalid type mappings", exception.Message);
231231
}
232232

233233
[Fact]

0 commit comments

Comments
 (0)