Skip to content

Commit 11427a9

Browse files
committed
Remove redundant CanConvert test for non-enum type
1 parent be1bc73 commit 11427a9

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

templates/dotnet/Package.Tests/Converters/ValueClassConverterTests.cs.twig

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,6 @@ namespace {{ spec.title | caseUcfirst }}.Tests.Converters
3030
Assert.True(result);
3131
}
3232

33-
[Fact]
34-
public void CanConvert_WithNonIEnumType_ReturnsFalse()
35-
{
36-
// Arrange
37-
var converter = new ValueClassConverter();
38-
39-
// Act
40-
var result = converter.CanConvert(typeof(string));
41-
42-
// Assert
43-
Assert.False(result);
44-
}
45-
4633
[Fact]
4734
public void CanConvert_WithStringType_ReturnsFalse()
4835
{

0 commit comments

Comments
 (0)